Sync compare macros, some event_scripts.s doc, begin map_scripts constants
This commit is contained in:
@@ -7,7 +7,7 @@ Route12_FishingHouse_EventScript_16FF0C:: @ 816FF0C
|
||||
checkflag FLAG_GOT_SUPER_ROD
|
||||
goto_if TRUE, EventScript_16FF7F
|
||||
msgbox gUnknown_819EFE0, MSGBOX_YESNO
|
||||
compare_var_to_value VAR_RESULT, 1
|
||||
compare VAR_RESULT, 1
|
||||
goto_if eq, EventScript_16FF34
|
||||
msgbox gUnknown_819F1FA
|
||||
release
|
||||
@@ -15,7 +15,7 @@ Route12_FishingHouse_EventScript_16FF0C:: @ 816FF0C
|
||||
|
||||
EventScript_16FF34:: @ 816FF34
|
||||
checkitemspace ITEM_SUPER_ROD, 1
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_16FF75
|
||||
additem ITEM_SUPER_ROD, 1
|
||||
msgbox gUnknown_819F05B
|
||||
@@ -32,28 +32,28 @@ EventScript_16FF75:: @ 816FF75
|
||||
|
||||
EventScript_16FF7F:: @ 816FF7F
|
||||
special sub_8110AB4
|
||||
compare_var_to_value VAR_RESULT, 2
|
||||
compare VAR_RESULT, 2
|
||||
goto_if eq, EventScript_1A7AE0
|
||||
special sub_8112364
|
||||
setvar VAR_0x8004, SPECIES_MAGIKARP
|
||||
specialvar VAR_RESULT, Special_PlayerPartyContainsSpecies
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_16FFF5
|
||||
special GetMagikarpSizeRecordInfo
|
||||
msgbox gUnknown_819F2DB
|
||||
special Special_ChooseMonFromParty
|
||||
waitstate
|
||||
copyvar VAR_RESULT, VAR_0x8004
|
||||
compare_var_to_value VAR_RESULT, 6
|
||||
compare VAR_RESULT, 6
|
||||
goto_if ge, EventScript_16FFFF
|
||||
special CompareMagikarpSize
|
||||
compare_var_to_value VAR_RESULT, 1
|
||||
compare VAR_RESULT, 1
|
||||
goto_if eq, EventScript_170001
|
||||
compare_var_to_value VAR_RESULT, 2
|
||||
compare VAR_RESULT, 2
|
||||
goto_if eq, EventScript_17000B
|
||||
compare_var_to_value VAR_RESULT, 3
|
||||
compare VAR_RESULT, 3
|
||||
goto_if eq, EventScript_170031
|
||||
compare_var_to_value VAR_RESULT, 4
|
||||
compare VAR_RESULT, 4
|
||||
goto_if eq, EventScript_17001E
|
||||
release
|
||||
end
|
||||
@@ -90,7 +90,7 @@ EventScript_170031:: @ 8170031
|
||||
setflag FLAG_GOT_RECORD_SETTING_MAGIKARP
|
||||
msgbox gUnknown_819F31B
|
||||
giveitem ITEM_NET_BALL
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_17005D
|
||||
msgbox gUnknown_819F395
|
||||
release
|
||||
|
||||
Reference in New Issue
Block a user