improve call_if macros
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user