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

View File

@@ -11,7 +11,7 @@ MarineCave_End_MapScript1_23AFEA: @ 823AFEA
MarineCave_End_EventScript_23AFF4:: @ 823AFF4
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 7
goto_if 5, MarineCave_End_EventScript_27374E
goto_if_ne MarineCave_End_EventScript_27374E
removeobject 1
return
@@ -44,11 +44,11 @@ MarineCave_End_EventScript_23B01B:: @ 823B01B
setvar VAR_TEMP_1, 0
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, 1
goto_eq MarineCave_End_EventScript_23B084
goto_if_eq MarineCave_End_EventScript_23B084
compare VAR_RESULT, 4
goto_eq MarineCave_End_EventScript_23B092
goto_if_eq MarineCave_End_EventScript_23B092
compare VAR_RESULT, 5
goto_eq MarineCave_End_EventScript_23B092
goto_if_eq MarineCave_End_EventScript_23B092
setvar VAR_0x4039, 1
setflag FLAG_0x1BE
releaseall