diff options
| author | PikalaxALT <PikalaxALT@gmail.com> | 2019-10-20 21:24:16 -0400 |
|---|---|---|
| committer | PikalaxALT <PikalaxALT@gmail.com> | 2019-10-20 21:24:16 -0400 |
| commit | 9aa5709329f4cbd497d0f21af10218f8a7547151 (patch) | |
| tree | cfab322854a597cbbe794ed6260303d29d167f87 /data/maps/TwoIsland_House | |
| parent | 6b503e306d73c749794cf7b61126287e3941f12f (diff) | |
use TRUE and FALSE for flag conditionals; more story flags
Diffstat (limited to 'data/maps/TwoIsland_House')
| -rw-r--r-- | data/maps/TwoIsland_House/scripts.inc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/data/maps/TwoIsland_House/scripts.inc b/data/maps/TwoIsland_House/scripts.inc index 2ad326b08..564ee8481 100644 --- a/data/maps/TwoIsland_House/scripts.inc +++ b/data/maps/TwoIsland_House/scripts.inc @@ -4,7 +4,7 @@ TwoIsland_House_MapScripts:: @ 8171618 TwoIsland_House_EventScript_171619:: @ 8171619 special sub_8110AB4 compare_var_to_value VAR_RESULT, 2 - goto_if_eq EventScript_1A7AE0 + goto_if eq, EventScript_1A7AE0 special sub_8112364 lock faceplayer @@ -12,7 +12,7 @@ TwoIsland_House_EventScript_171619:: @ 8171619 clearflag FLAG_TEMP_3 clearflag FLAG_TEMP_4 checkflag FLAG_TEMP_1 - goto_if_eq EventScript_17164F + goto_if TRUE, EventScript_17164F msgbox gUnknown_81A2B88 setflag FLAG_TEMP_1 goto EventScript_17164F @@ -26,28 +26,28 @@ EventScript_17164F:: @ 817164F compare_var_to_value VAR_RESULT, 1 call_if eq, EventScript_1717AC checkflag FLAG_TEMP_2 - goto_if_eq EventScript_171687 + goto_if TRUE, EventScript_171687 checkflag FLAG_TEMP_3 - goto_if_eq EventScript_171696 + goto_if TRUE, EventScript_171696 goto EventScript_17179E end EventScript_171687:: @ 8171687 checkflag FLAG_TEMP_3 - call_if eq, EventScript_1717B0 + call_if TRUE, EventScript_1717B0 goto EventScript_1716A5 end EventScript_171696:: @ 8171696 checkflag FLAG_TEMP_2 - call_if eq, EventScript_1717B0 + call_if TRUE, EventScript_1717B0 goto EventScript_1716A5 end EventScript_1716A5:: @ 81716A5 msgbox gUnknown_81A2C63, MSGBOX_YESNO compare_var_to_value VAR_RESULT, 0 - goto_if_eq EventScript_17179E + goto_if eq, EventScript_17179E goto EventScript_1716BE end @@ -59,9 +59,9 @@ EventScript_1716BE:: @ 81716BE goto_if ge, EventScript_17179E special sub_80BFC14 compare_var_to_value VAR_RESULT, 1 - goto_if_eq EventScript_171790 + goto_if eq, EventScript_171790 compare_var_to_value VAR_0x8005, 0 - goto_if_eq EventScript_171782 + goto_if eq, EventScript_171782 goto EventScript_1716F4 end @@ -70,13 +70,13 @@ EventScript_1716F4:: @ 81716F4 special sub_80E4634 waitstate compare_var_to_value VAR_0x8004, 0 - goto_if_eq EventScript_1716BE + goto_if eq, EventScript_1716BE checkflag FLAG_TEMP_4 - goto_if_eq EventScript_17175B + goto_if TRUE, EventScript_17175B checkflag FLAG_TEMP_2 - goto_if_eq EventScript_171727 + goto_if TRUE, EventScript_171727 checkflag FLAG_TEMP_3 - goto_if_eq EventScript_171741 + goto_if TRUE, EventScript_171741 end EventScript_171727:: @ 8171727 |
