improve goto_if macros

This commit is contained in:
Melody
2018-12-21 20:28:24 -05:00
parent 87fd6b8dc2
commit ac2e4adf2d
273 changed files with 2555 additions and 3036 deletions
+4 -5
View File
@@ -4,12 +4,11 @@ MauvilleCity_House2_MapScripts:: @ 8210C5C
MauvilleCity_House2_EventScript_210C5D:: @ 8210C5D
lock
faceplayer
checkflag FLAG_0x102
goto_eq MauvilleCity_House2_EventScript_210CDA
goto_if_set FLAG_0x102, MauvilleCity_House2_EventScript_210CDA
msgbox MauvilleCity_House2_Text_210CEE, MSGBOX_DEFAULT
checkitem ITEM_HARBOR_MAIL, 1
compare VAR_RESULT, 1
goto_eq MauvilleCity_House2_EventScript_210C82
goto_if_eq MauvilleCity_House2_EventScript_210C82
release
end
@@ -21,9 +20,9 @@ MauvilleCity_House2_EventScript_210C82:: @ 8210C82
waitmovement 0
msgbox MauvilleCity_House2_Text_210D76, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq MauvilleCity_House2_EventScript_210CB8
goto_if_eq MauvilleCity_House2_EventScript_210CB8
compare VAR_RESULT, 0
goto_eq MauvilleCity_House2_EventScript_210CE4
goto_if_eq MauvilleCity_House2_EventScript_210CE4
end
MauvilleCity_House2_EventScript_210CB8:: @ 8210CB8