Sync compare macros, some event_scripts.s doc, begin map_scripts constants
This commit is contained in:
@@ -15,7 +15,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_16CB88:: @ 816CB88
|
||||
checkflag FLAG_GOT_COIN_CASE
|
||||
goto_if FALSE, EventScript_16CD99
|
||||
special sub_8110AB4
|
||||
compare_var_to_value VAR_RESULT, 2
|
||||
compare VAR_RESULT, 2
|
||||
goto_if eq, EventScript_1A7AE0
|
||||
showcoinsbox 0, 0
|
||||
msgbox gUnknown_8197057
|
||||
@@ -109,10 +109,10 @@ EventScript_16CC55:: @ 816CC55
|
||||
EventScript_16CC65:: @ 816CC65
|
||||
getspeciesname 0, VAR_0x4001
|
||||
msgbox gUnknown_819709D, MSGBOX_YESNO
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_16CC10
|
||||
checkcoins VAR_RESULT
|
||||
compare_var_to_var VAR_RESULT, VAR_0x4002
|
||||
compare VAR_RESULT, VAR_0x4002
|
||||
goto_if lt, EventScript_16CDA5
|
||||
textcolor 3
|
||||
switch VAR_0x4001
|
||||
@@ -179,11 +179,11 @@ EventScript_16CD3D:: @ 816CD3D
|
||||
end
|
||||
|
||||
EventScript_16CD52:: @ 816CD52
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_16CDB3
|
||||
compare_var_to_value VAR_RESULT, 1
|
||||
compare VAR_RESULT, 1
|
||||
goto_if eq, EventScript_16CDE0
|
||||
compare_var_to_value VAR_RESULT, 2
|
||||
compare VAR_RESULT, 2
|
||||
goto_if eq, EventScript_16CD74
|
||||
end
|
||||
|
||||
@@ -222,7 +222,7 @@ EventScript_16CDB3:: @ 816CDB3
|
||||
waitmessage
|
||||
waitfanfare
|
||||
msgbox gUnknown_81A56A7, MSGBOX_YESNO
|
||||
compare_var_to_value VAR_RESULT, 1
|
||||
compare VAR_RESULT, 1
|
||||
goto_if eq, EventScript_16CD83
|
||||
goto EventScript_16CC10
|
||||
end
|
||||
@@ -236,7 +236,7 @@ EventScript_16CDE0:: @ 816CDE0
|
||||
waitmessage
|
||||
waitfanfare
|
||||
msgbox gUnknown_81A56A7, MSGBOX_YESNO
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_16CE12
|
||||
call EventScript_1A8C33
|
||||
goto EventScript_16CE12
|
||||
@@ -253,7 +253,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_16CE1D:: @ 816CE1D
|
||||
checkflag FLAG_GOT_COIN_CASE
|
||||
goto_if FALSE, EventScript_16CD99
|
||||
special sub_8110AB4
|
||||
compare_var_to_value VAR_RESULT, 2
|
||||
compare VAR_RESULT, 2
|
||||
goto_if eq, EventScript_1A7AE0
|
||||
showcoinsbox 0, 0
|
||||
msgbox gUnknown_8197057
|
||||
@@ -311,7 +311,7 @@ EventScript_16CEF5:: @ 816CEF5
|
||||
|
||||
EventScript_16CF09:: @ 816CF09
|
||||
msgbox gUnknown_81970B2, MSGBOX_YESNO
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_16CC10
|
||||
goto EventScript_16CF3F
|
||||
end
|
||||
@@ -319,7 +319,7 @@ EventScript_16CF09:: @ 816CF09
|
||||
EventScript_16CF22:: @ 816CF22
|
||||
getitemname 0, VAR_0x4001
|
||||
msgbox gUnknown_819709D, MSGBOX_YESNO
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_16CC10
|
||||
goto EventScript_16CF3F
|
||||
end
|
||||
@@ -327,10 +327,10 @@ EventScript_16CF22:: @ 816CF22
|
||||
EventScript_16CF3F:: @ 816CF3F
|
||||
getitemname 0, VAR_0x4001
|
||||
checkcoins VAR_RESULT
|
||||
compare_var_to_var VAR_RESULT, VAR_0x4002
|
||||
compare VAR_RESULT, VAR_0x4002
|
||||
goto_if lt, EventScript_16CDA5
|
||||
checkitemspace VAR_0x4001, 1
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_16CF79
|
||||
takecoins VAR_0x4002
|
||||
updatecoinsbox 0, 5
|
||||
@@ -351,7 +351,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_16CF88:: @ 816CF88
|
||||
checkflag FLAG_GOT_COIN_CASE
|
||||
goto_if FALSE, EventScript_16CD99
|
||||
special sub_8110AB4
|
||||
compare_var_to_value VAR_RESULT, 2
|
||||
compare VAR_RESULT, 2
|
||||
goto_if eq, EventScript_1A7AE0
|
||||
showcoinsbox 0, 0
|
||||
msgbox gUnknown_8197057
|
||||
|
||||
Reference in New Issue
Block a user