script switch/case; name script conditionals

This commit is contained in:
PikalaxALT
2019-10-20 20:38:23 -04:00
parent 2aeefdc5de
commit 6b503e306d
132 changed files with 1559 additions and 1789 deletions
+3 -3
View File
@@ -6,7 +6,7 @@ Route16_MapScripts:: @ 81680E5
Route16_MapScript1_1680F5:: @ 81680F5
checkflag FLAG_0x807
call_if 1, EventScript_1680FF
call_if eq, EventScript_1680FF
end
EventScript_1680FF:: @ 81680FF
@@ -15,7 +15,7 @@ EventScript_1680FF:: @ 81680FF
Route16_MapScript2_168103:: @ 8168103
compare_var_to_value VAR_MAP_SCENE_ROUTE16, 1
call_if 1, EventScript_16810F
call_if eq, EventScript_16810F
end
EventScript_16810F:: @ 816810F
@@ -34,7 +34,7 @@ Route16_EventScript_168121:: @ 8168121
lock
faceplayer
checkflag FLAG_GOT_POKE_FLUTE
goto_if 0, EventScript_1681A3
goto_if lt, EventScript_1681A3
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
goto_if_eq EventScript_1A7AE0