improve call_if macros

This commit is contained in:
Melody
2018-12-21 21:32:45 -05:00
parent ac2e4adf2d
commit 55005f1588
175 changed files with 1245 additions and 1400 deletions
+6 -7
View File
@@ -5,21 +5,20 @@ Route127_MapScripts:: @ 81F69D9
.byte 0
Route127_MapScript1_1F69E9: @ 81F69E9
checkflag FLAG_SYS_WEATHER_CTRL
call_if 1, Route127_EventScript_27207A
call_if_set FLAG_SYS_WEATHER_CTRL, Route127_EventScript_27207A
compare VAR_0x4039, 1
call_if 1, Route127_EventScript_273D13
call_if_eq Route127_EventScript_273D13
compare VAR_0x4037, 13
call_if 1, Route127_EventScript_273D17
call_if_eq Route127_EventScript_273D17
compare VAR_0x4037, 14
call_if 1, Route127_EventScript_273D17
call_if_eq Route127_EventScript_273D17
end
Route127_MapScript1_1F6A14: @ 81F6A14
compare VAR_0x4037, 13
call_if 1, Route127_EventScript_273B5F
call_if_eq Route127_EventScript_273B5F
compare VAR_0x4037, 14
call_if 1, Route127_EventScript_273BCC
call_if_eq Route127_EventScript_273BCC
end
Route127_MapScript2_1F6A2B: @ 81F6A2B