use TRUE and FALSE for flag conditionals; more story flags

This commit is contained in:
PikalaxALT
2019-10-20 21:24:16 -04:00
parent 6b503e306d
commit 9aa5709329
166 changed files with 1167 additions and 1165 deletions
+9 -9
View File
@@ -4,8 +4,8 @@ MtEmber_Summit_MapScripts:: @ 8163AFC
.byte 0
MtEmber_Summit_MapScript2_163B07:: @ 8163B07
checkflag FLAG_0x807
call_if eq, EventScript_163B11
checkflag FLAG_SYS_SPECIAL_WILD_BATTLE
call_if TRUE, EventScript_163B11
end
EventScript_163B11:: @ 8163B11
@@ -17,7 +17,7 @@ EventScript_163B11:: @ 8163B11
MtEmber_Summit_MapScript1_163B25:: @ 8163B25
checkflag FLAG_0x2BD
call_if lt, EventScript_163B2F
call_if FALSE, EventScript_163B2F
end
EventScript_163B2F:: @ 8163B2F
@@ -27,7 +27,7 @@ EventScript_163B2F:: @ 8163B2F
MtEmber_Summit_EventScript_163B33:: @ 8163B33
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
@@ -40,17 +40,17 @@ MtEmber_Summit_EventScript_163B33:: @ 8163B33
delay 10
playbgm MUS_EXEYE, 0
waitbuttonpress
setflag FLAG_0x807
setflag FLAG_SYS_SPECIAL_WILD_BATTLE
special sub_807F9D8
waitstate
clearflag FLAG_0x807
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
specialvar VAR_RESULT, sub_80CA74C
compare_var_to_value VAR_RESULT, 1
goto_if_eq EventScript_163B96
goto_if eq, EventScript_163B96
compare_var_to_value VAR_RESULT, 4
goto_if_eq EventScript_163B9F
goto_if eq, EventScript_163B9F
compare_var_to_value VAR_RESULT, 5
goto_if_eq EventScript_163B9F
goto_if eq, EventScript_163B9F
setflag FLAG_0x2BD
release
end