Sync compare macros, some event_scripts.s doc, begin map_scripts constants
This commit is contained in:
@@ -24,17 +24,17 @@ Route16_NorthEntrance_2F_EventScript_1702E3:: @ 81702E3
|
||||
checkflag FLAG_GOT_AMULET_COIN_FROM_OAKS_AIDE
|
||||
goto_if TRUE, EventScript_170365
|
||||
msgbox gUnknown_819FB0E, MSGBOX_YESNO
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_1A7AD1
|
||||
setvar VAR_0x8004, 0
|
||||
specialvar VAR_RESULT, Special_GetPokedexCount
|
||||
getnumberstring 2, VAR_0x8006
|
||||
call EventScript_17036F
|
||||
compare_var_to_value VAR_0x8006, 40
|
||||
compare VAR_0x8006, 40
|
||||
goto_if lt, EventScript_1A7ABD
|
||||
msgbox gUnknown_819FC15
|
||||
checkitemspace ITEM_AMULET_COIN, 1
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
goto_if eq, EventScript_1A7AC7
|
||||
additem ITEM_AMULET_COIN, 1
|
||||
giveitemfanfaremsg gUnknown_819FC68, ITEM_AMULET_COIN
|
||||
|
||||
Reference in New Issue
Block a user