Hide/show flags through 07F

This commit is contained in:
PikalaxALT
2019-10-19 20:30:38 -04:00
parent a8b767965a
commit 2ff8af13d5
154 changed files with 806 additions and 803 deletions
+15 -15
View File
@@ -8,13 +8,13 @@ TwoIsland_House_EventScript_171619:: @ 8171619
special sub_8112364
lock
faceplayer
clearflag FLAG_0x002
clearflag FLAG_0x003
clearflag FLAG_0x004
checkflag FLAG_0x001
clearflag FLAG_TEMP_2
clearflag FLAG_TEMP_3
clearflag FLAG_TEMP_4
checkflag FLAG_TEMP_1
goto_if_eq EventScript_17164F
msgbox gUnknown_81A2B88
setflag FLAG_0x001
setflag FLAG_TEMP_1
goto EventScript_17164F
end
@@ -25,21 +25,21 @@ EventScript_17164F:: @ 817164F
checkitem ITEM_TINY_MUSHROOM, 2
compare_var_to_value VAR_RESULT, 1
call_if 1, EventScript_1717AC
checkflag FLAG_0x002
checkflag FLAG_TEMP_2
goto_if_eq EventScript_171687
checkflag FLAG_0x003
checkflag FLAG_TEMP_3
goto_if_eq EventScript_171696
goto EventScript_17179E
end
EventScript_171687:: @ 8171687
checkflag FLAG_0x003
checkflag FLAG_TEMP_3
call_if 1, EventScript_1717B0
goto EventScript_1716A5
end
EventScript_171696:: @ 8171696
checkflag FLAG_0x002
checkflag FLAG_TEMP_2
call_if 1, EventScript_1717B0
goto EventScript_1716A5
end
@@ -71,11 +71,11 @@ EventScript_1716F4:: @ 81716F4
waitstate
compare_var_to_value VAR_0x8004, 0
goto_if_eq EventScript_1716BE
checkflag FLAG_0x004
checkflag FLAG_TEMP_4
goto_if_eq EventScript_17175B
checkflag FLAG_0x002
checkflag FLAG_TEMP_2
goto_if_eq EventScript_171727
checkflag FLAG_0x003
checkflag FLAG_TEMP_3
goto_if_eq EventScript_171741
end
@@ -120,13 +120,13 @@ EventScript_17179E:: @ 817179E
end
EventScript_1717A8:: @ 81717A8
setflag FLAG_0x002
setflag FLAG_TEMP_2
return
EventScript_1717AC:: @ 81717AC
setflag FLAG_0x003
setflag FLAG_TEMP_3
return
EventScript_1717B0:: @ 81717B0
setflag FLAG_0x004
setflag FLAG_TEMP_4
return