0 Members and 3 Guests are viewing this topic.
dw $C0DE; Alert(; Displays a modal msg box with custom textdw AlertEnd+2 ; I use REP_NEXT twicedb %00001000 ; only for DoorsCSdb $BB,$1B ; normalpdf(db 0 ; inlinedb 1 ; 1 argrorg 0 push hl inc hl inc hl inc hl call sub_Length ex de,hl push de call OpenGUIStack REP_NEXT ; db $7F \ rorg $-1 ld hl,SmallWin ld de,WinButtons-SmallWin ld a,GUIRSmallWin call PushGUIStack REP_NEXT ld hl,WinButtons ld de,AlertEnd-WinButtons ld a,GUIRWinButtons call PushGUIStack pop de pop hl inc de inc de inc de ld a,GUIRText call PushGUIStack ld hl,0 call GUIMouse retexitAx1: call ResetAppPage retSmallWin:db 7,7db $E0,$B0,$90,$90,$F0db " ",0WinButtons:db %00100000dw 0dw 0dw exitAx1AlertEnd:dw 0 ; AXM_END; token hookdw $03E0 ; hnormalpdfdb 6db "Alert("
:.AXEDCS:#Axiom(AXIOMDCS):Data(0,0,0)"Bonjour"→GDB1:Alert(GDB1
WinButtons:db %00100000dw 0dw 0dw exitAx1
dw $C0DE; Alert(; Displays a modal msg box with custom textdw AlertEnd+6 ; I use REP_NEXT twice and OFS_NEXT twice **CHANGED**db %00001000 ; only for DoorsCSdb $BB,$1B ; normalpdf(db 1 ; subroutine **CHANGED**db 1 ; 1 argrorg 0 push hl inc hl inc hl inc hl call sub_Length ex de,hl push de call OpenGUIStack REP_NEXT ; db $7F rorg $-1 ld hl,sub_Axiom2 ; **CHANGED** ld de,WinButtons-SmallWin ld a,GUIRSmallWin call PushGUIStack ; **CHANGED** REP_NEXT ; db $7F rorg $-1 ld hl,exitAx1 REP_NEXT(5+WinButtons-SmallWin) ; db $40 db 5+WinButtons-SmallWin rorg $-2 ld (sub_Axiom2),hl REP_NEXT(WinButtons-SmallWin) ; db $40 db WinButtons-SmallWin rorg $-2 ld hl,sub_Axiom2 ld de,AlertEnd-WinButtons ld a,GUIRWinButtons call PushGUIStack pop de pop hl inc de inc de inc de ld a,GUIRText call PushGUIStack ld hl,0 call GUIMouse retexitAx1: call ResetAppPage retAlertEnd:;** CHANGED **dw DataEnddb %00001000dw 0db %00010000db 0rorg 0SmallWin:db 7,7db $E0,$B0,$90,$90,$F0db " ",0WinButtons:db %00100000dw 0dw 0dw 0 ; **CHANGED**, although it doesn't really matterDataEnd:dw 0 ; AXM_END; token hookdw $03E0 ; hnormalpdfdb 6db "Alert("