Use 'goto_if_eq VAR, value, Script' syntax

This commit is contained in:
GriffinR
2022-08-09 20:40:03 -04:00
parent 60fc8c5e22
commit f113da30ad
171 changed files with 1992 additions and 3453 deletions
+3 -6
View File
@@ -19,12 +19,9 @@ SSAnne_Kitchen_EventScript_Chef4::
msgbox SSAnne_Kitchen_Text_IAmLeChefMainCourseIs
random 3
copyvar VAR_0x8008, VAR_RESULT
compare VAR_0x8008, 0
call_if_eq SSAnne_Kitchen_EventScript_SalmonDuSalad
compare VAR_0x8008, 1
call_if_eq SSAnne_Kitchen_EventScript_EelsAuBarbecue
compare VAR_0x8008, 2
call_if_eq SSAnne_Kitchen_EventScript_PrimeBeefsteak
call_if_eq VAR_0x8008, 0, SSAnne_Kitchen_EventScript_SalmonDuSalad
call_if_eq VAR_0x8008, 1, SSAnne_Kitchen_EventScript_EelsAuBarbecue
call_if_eq VAR_0x8008, 2, SSAnne_Kitchen_EventScript_PrimeBeefsteak
release
end