initial event_scripts documentation

This commit is contained in:
GriffinR
2019-08-14 23:38:42 -04:00
parent ca8048c300
commit ecf2097abb
92 changed files with 607 additions and 559 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -47,7 +47,7 @@ AncientTomb_EventScript_239033:: @ 8239033
end
AncientTomb_EventScript_239046:: @ 8239046
msgbox gUnknown_0827304E, MSGBOX_DEFAULT
msgbox gText_BigHoleInTheWall, MSGBOX_DEFAULT
releaseall
end
@@ -84,11 +84,11 @@ AncientTomb_EventScript_23905A:: @ 823905A
AncientTomb_EventScript_2390A1:: @ 82390A1
setflag FLAG_DEFEATED_REGISTEEL
goto AncientTomb_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
AncientTomb_EventScript_2390AA:: @ 82390AA
setvar VAR_0x8004, 403
goto AncientTomb_EventScript_273776
setvar VAR_0x8004, SPECIES_REGISTEEL
goto Common_EventScript_LegendaryFlewAway
end

View File

@@ -51,7 +51,7 @@ AquaHideout_B1F_EventScript_2339EB:: @ 82339EB
AquaHideout_B1F_EventScript_233A2F:: @ 8233A2F
setflag FLAG_DEFEATED_ELECTRODE_1_AQUA_HIDEOUT
goto AquaHideout_B1F_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
AquaHideout_B1F_EventScript_233A38:: @ 8233A38
@@ -78,7 +78,7 @@ AquaHideout_B1F_EventScript_233A38:: @ 8233A38
AquaHideout_B1F_EventScript_233A7C:: @ 8233A7C
setflag FLAG_DEFEATED_ELECTRODE_2_AQUA_HIDEOUT
goto AquaHideout_B1F_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
AquaHideout_B1F_EventScript_233A85:: @ 8233A85

View File

@@ -4,10 +4,10 @@ BattleFrontier_Mart_MapScripts:: @ 8267ACB
BattleFrontier_Mart_EventScript_267ACC:: @ 8267ACC
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart BattleFrontier_Mart_Pokemart_267AE4
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -145,7 +145,7 @@ BattleFrontier_OutsideEast_EventScript_242CFC:: @ 8242CFC
BattleFrontier_OutsideEast_EventScript_242D60:: @ 8242D60
setflag FLAG_DEFEATED_SUDOWOODO
goto IslandCave_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
BattleFrontier_OutsideEast_Movement_242D69: @ 8242D69

View File

@@ -9,7 +9,7 @@ BattleFrontier_PokemonCenter_1F_MapScript1_267904: @ 8267904
BattleFrontier_PokemonCenter_1F_EventScript_267908:: @ 8267908
setvar VAR_0x800B, 1
call BattleFrontier_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -79,9 +79,9 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
delay 40
waitmoncry
setvar VAR_LAST_TALKED, 2
setvar VAR_0x8004, 410
setvar VAR_0x8005, 30
setvar VAR_0x8006, 0
setvar VAR_0x8004, SPECIES_DEOXYS
setvar VAR_0x8005, 30 @level
setvar VAR_0x8006, ITEM_NONE
special CreateObedientEnemyMon
setflag FLAG_SYS_CTRL_OBJ_DELETE
special BattleSetup_StartLegendaryBattle
@@ -100,13 +100,13 @@ BirthIsland_Exterior_EventScript_267FC1:: @ 8267FC1
BirthIsland_Exterior_EventScript_26803B:: @ 826803B
setflag FLAG_DEFEATED_DEOXYS
setvar VAR_0x8004, 410
goto BirthIsland_Exterior_EventScript_273776
setvar VAR_0x8004, SPECIES_DEOXYS
goto Common_EventScript_LegendaryFlewAway
end
BirthIsland_Exterior_EventScript_268049:: @ 8268049
setvar VAR_0x8004, 410
goto BirthIsland_Exterior_EventScript_273776
setvar VAR_0x8004, SPECIES_DEOXYS
goto Common_EventScript_LegendaryFlewAway
end
BirthIsland_Exterior_Movement_268054: @ 8268054

View File

@@ -47,7 +47,7 @@ DesertRuins_EventScript_22D9DB:: @ 822D9DB
end
DesertRuins_EventScript_22D9EE:: @ 822D9EE
msgbox gUnknown_0827304E, MSGBOX_DEFAULT
msgbox gText_BigHoleInTheWall, MSGBOX_DEFAULT
releaseall
end
@@ -84,11 +84,11 @@ DesertRuins_EventScript_22DA02:: @ 822DA02
DesertRuins_EventScript_22DA49:: @ 822DA49
setflag FLAG_DEFEATED_REGIROCK
goto DesertRuins_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
DesertRuins_EventScript_22DA52:: @ 822DA52
setvar VAR_0x8004, 401
goto DesertRuins_EventScript_273776
setvar VAR_0x8004, SPECIES_REGIROCK
goto Common_EventScript_LegendaryFlewAway
end

View File

@@ -124,12 +124,12 @@ DewfordTown_EventScript_1E9660:: @ 81E9660
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E9911
waitmovement 0
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN
call DewfordTown_EventScript_2720A0
call Common_EventScript_PlayBrineysBoatMusic
applymovement 4, DewfordTown_Movement_1E97A2
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E97A2
waitmovement 0
showobjectat EVENT_OBJ_ID_PLAYER, MAP_ROUTE104
call DewfordTown_EventScript_2720A8
call Common_EventScript_StopBrineysBoatMusic
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E9914
waitmovement 0
showobjectat EVENT_OBJ_ID_PLAYER, MAP_ROUTE104
@@ -156,11 +156,11 @@ DewfordTown_EventScript_1E96E7:: @ 81E96E7
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E9911
waitmovement 0
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN
call DewfordTown_EventScript_2720A0
call Common_EventScript_PlayBrineysBoatMusic
applymovement 4, DewfordTown_Movement_1E9865
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E9865
waitmovement 0
call DewfordTown_EventScript_2720A8
call Common_EventScript_StopBrineysBoatMusic
showobjectat EVENT_OBJ_ID_PLAYER, MAP_ROUTE109
applymovement EVENT_OBJ_ID_PLAYER, DewfordTown_Movement_1E9918
waitmovement 0

View File

@@ -177,7 +177,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
compare VAR_PETALBURG_GYM_STATE, 6
call_if_eq DewfordTown_Gym_EventScript_271E84
setvar VAR_0x8008, 2
call DewfordTown_Gym_EventScript_271F43
call Common_EventScript_SetGymTrainers
call DewfordTown_Gym_EventScript_1FC855
closemessage
delay 30

View File

@@ -5,12 +5,12 @@ DewfordTown_PokemonCenter_1F_MapScripts:: @ 81FC523
DewfordTown_PokemonCenter_1F_OnTransition: @ 81FC52E
setrespawn HEAL_LOCATION_DEWFORD_TOWN
call DewfordTown_PokemonCenter_1F_EventScript_2718DE
call Common_EventScript_UpdateBrineyLocation
end
DewfordTown_PokemonCenter_1F_EventScript_1FC537:: @ 81FC537
setvar VAR_0x800B, 1
call DewfordTown_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -15,7 +15,7 @@ EverGrandeCity_PokemonCenter_1F_EventScript_229A4C:: @ 8229A4C
EverGrandeCity_PokemonCenter_1F_EventScript_229A59:: @ 8229A59
setvar VAR_0x800B, 1
call EverGrandeCity_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -16,7 +16,7 @@ EverGrandeCity_PokemonLeague_1F_EventScript_2295ED:: @ 82295ED
EverGrandeCity_PokemonLeague_1F_EventScript_2295FC:: @ 82295FC
setvar VAR_0x800B, 1
call EverGrandeCity_PokemonLeague_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release
@@ -25,10 +25,10 @@ EverGrandeCity_PokemonLeague_1F_EventScript_2295FC:: @ 82295FC
EverGrandeCity_PokemonLeague_1F_EventScript_22960A:: @ 822960A
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart EverGrandeCity_PokemonLeague_1F_Pokemart_229624
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -21,8 +21,8 @@ FallarborTown_House1_EventScript_200F38:: @ 8200F38
giveitem_std ITEM_TM27
compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull
setvar VAR_0x8004, 280
call FallarborTown_House1_EventScript_2723E4
setvar VAR_0x8004, ITEM_METEORITE
call Common_EventScript_PlayerHandedOverTheItem
setflag FLAG_RECEIVED_TM27
msgbox FallarborTown_House1_Text_2011A5, MSGBOX_DEFAULT
release

View File

@@ -4,10 +4,10 @@ FallarborTown_Mart_MapScripts:: @ 81FFCBE
FallarborTown_Mart_EventScript_1FFCBF:: @ 81FFCBF
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart FallarborTown_Mart_Pokemart_1FFCD8
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -5,12 +5,12 @@ FallarborTown_PokemonCenter_1F_MapScripts:: @ 8200BCD
FallarborTown_PokemonCenter_1F_OnTransition: @ 8200BD8
setrespawn HEAL_LOCATION_FALLARBOR_TOWN
call FallarborTown_PokemonCenter_1F_EventScript_2718DE
call Common_EventScript_UpdateBrineyLocation
end
FallarborTown_PokemonCenter_1F_EventScript_200BE1:: @ 8200BE1
setvar VAR_0x800B, 1
call FallarborTown_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -136,9 +136,9 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
special sub_81D4BEC
delay 40
waitmoncry
setvar VAR_0x8004, 151
setvar VAR_0x8005, 30
setvar VAR_0x8006, 0
setvar VAR_0x8004, SPECIES_MEW
setvar VAR_0x8005, 30 @level
setvar VAR_0x8006, ITEM_NONE
special CreateObedientEnemyMon
setflag FLAG_SYS_CTRL_OBJ_DELETE
special BattleSetup_StartLegendaryBattle
@@ -159,13 +159,13 @@ FarawayIsland_Interior_EventScript_267DF2:: @ 8267DF2
FarawayIsland_Interior_EventScript_267E96:: @ 8267E96
setflag FLAG_DEFEATED_MEW
setvar VAR_0x8004, 151
goto FarawayIsland_Interior_EventScript_273776
setvar VAR_0x8004, SPECIES_MEW
goto Common_EventScript_LegendaryFlewAway
end
FarawayIsland_Interior_EventScript_267EA4:: @ 8267EA4
setvar VAR_0x8004, 151
goto FarawayIsland_Interior_EventScript_273776
setvar VAR_0x8004, SPECIES_MEW
goto Common_EventScript_LegendaryFlewAway
end
FarawayIsland_Interior_EventScript_267EAF:: @ 8267EAF

View File

@@ -12,10 +12,10 @@ FortreeCity_DecorationShop_EventScript_218017:: @ 8218017
FortreeCity_DecorationShop_EventScript_218020:: @ 8218020
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemartdecoration FortreeCity_DecorationShop_PokemartDecor_Desks
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -36,10 +36,10 @@ FortreeCity_DecorationShop_PokemartDecor_Desks: @ 8218038
FortreeCity_DecorationShop_EventScript_21804C:: @ 821804C
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemartdecoration FortreeCity_DecorationShop_PokemartDecor_Chairs
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -33,7 +33,7 @@ FortreeCity_Gym_EventScript_2165FD:: @ 82165FD
setflag FLAG_DEFEATED_FORTREE_GYM
setflag FLAG_BADGE06_GET
setvar VAR_0x8008, 6
call FortreeCity_Gym_EventScript_271F43
call Common_EventScript_SetGymTrainers
call FortreeCity_Gym_EventScript_21666A
closemessage
delay 30

View File

@@ -4,10 +4,10 @@ FortreeCity_Mart_MapScripts:: @ 8217665
FortreeCity_Mart_EventScript_217666:: @ 8217666
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart FortreeCity_Mart_Pokemart_217680
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -9,7 +9,7 @@ FortreeCity_PokemonCenter_1F_OnTransition: @ 82173E3
FortreeCity_PokemonCenter_1F_EventScript_2173E7:: @ 82173E7
setvar VAR_0x800B, 1
call FortreeCity_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -5,8 +5,8 @@ GraniteCave_StevensRoom_EventScript_22DC7B:: @ 822DC7B
lock
faceplayer
msgbox GraniteCave_StevensRoom_Text_22DD5A, MSGBOX_DEFAULT
setvar VAR_0x8004, 274
call GraniteCave_StevensRoom_EventScript_2723E4
setvar VAR_0x8004, ITEM_LETTER
call Common_EventScript_PlayerHandedOverTheItem
setflag FLAG_DELIVERED_STEVEN_LETTER
msgbox GraniteCave_StevensRoom_Text_22DDBD, MSGBOX_DEFAULT
giveitem_std ITEM_TM47

View File

@@ -61,7 +61,7 @@ IslandCave_EventScript_238EEF:: @ 8238EEF
end
IslandCave_EventScript_238F13:: @ 8238F13
msgbox gUnknown_0827304E, MSGBOX_DEFAULT
msgbox gText_BigHoleInTheWall, MSGBOX_DEFAULT
releaseall
end
@@ -113,10 +113,10 @@ IslandCave_EventScript_238F58:: @ 8238F58
IslandCave_EventScript_238F9F:: @ 8238F9F
setflag FLAG_DEFEATED_REGICE
goto IslandCave_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
IslandCave_EventScript_238FA8:: @ 8238FA8
setvar VAR_0x8004, 402
goto IslandCave_EventScript_273776
setvar VAR_0x8004, SPECIES_REGICE
goto Common_EventScript_LegendaryFlewAway
end

View File

@@ -80,7 +80,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
compare VAR_PETALBURG_GYM_STATE, 6
call_if_eq LavaridgeTown_Gym_1F_EventScript_271E84
setvar VAR_0x8008, 4
call LavaridgeTown_Gym_1F_EventScript_271F43
call Common_EventScript_SetGymTrainers
setflag FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WALLY
setvar VAR_LAVARIDGE_TOWN_STATE, 1
call LavaridgeTown_Gym_1F_EventScript_1FE841

View File

@@ -7,7 +7,7 @@ LavaridgeTown_HerbShop_EventScript_1FE4D7:: @ 81FE4D7
message LavaridgeTown_HerbShop_Text_1FE53E
waitmessage
pokemart LavaridgeTown_HerbShop_Pokemart_1FE4F0
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -4,10 +4,10 @@ LavaridgeTown_Mart_MapScripts:: @ 81FF9CD
LavaridgeTown_Mart_EventScript_1FF9CE:: @ 81FF9CE
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart LavaridgeTown_Mart_Pokemart_1FF9E8
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -5,12 +5,12 @@ LavaridgeTown_PokemonCenter_1F_MapScripts:: @ 81FFAFA
LavaridgeTown_PokemonCenter_1F_OnTransition: @ 81FFB05
setrespawn HEAL_LOCATION_LAVARIDGE_TOWN
call LavaridgeTown_PokemonCenter_1F_EventScript_2718DE
call Common_EventScript_UpdateBrineyLocation
end
LavaridgeTown_PokemonCenter_1F_EventScript_1FFB0E:: @ 81FFB0E
setvar VAR_0x800B, 1
call LavaridgeTown_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -8,7 +8,7 @@ LilycoveCity_DepartmentStoreElevator_EventScript_220624:: @ 8220624
call_if_unset FLAG_TEMP_2, LilycoveCity_DepartmentStoreElevator_EventScript_2207FC
copyvar VAR_0x8005, VAR_DEPT_STORE_FLOOR
special sub_8139B60
message gUnknown_08272C1D
message gText_WhichFloorWouldYouLike
waitmessage
setvar VAR_0x8004, 0
specialvar VAR_RESULT, sub_81399F4

View File

@@ -21,10 +21,10 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_22022B:: @ 822022B
LilycoveCity_DepartmentStoreRooftop_EventScript_22022F:: @ 822022F
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemartdecoration LilycoveCity_DepartmentStoreRooftop_PokemartDecor_220248
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -191,7 +191,7 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_220442:: @ 8220442
end
LilycoveCity_DepartmentStoreRooftop_EventScript_220450:: @ 8220450
msgbox gUnknown_08272A89, MSGBOX_DEFAULT
msgbox gText_TheBagIsFull, MSGBOX_DEFAULT
goto LilycoveCity_DepartmentStoreRooftop_EventScript_22045E
end

View File

@@ -16,10 +16,10 @@ LilycoveCity_DepartmentStore_2F_EventScript_21FB3F:: @ 821FB3F
LilycoveCity_DepartmentStore_2F_EventScript_21FB48:: @ 821FB48
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_2F_Pokemart_21FB60
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -43,10 +43,10 @@ LilycoveCity_DepartmentStore_2F_Pokemart_21FB60: @ 821FB60
LilycoveCity_DepartmentStore_2F_EventScript_21FB7A:: @ 821FB7A
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_2F_Pokemart_21FB94
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -4,10 +4,10 @@ LilycoveCity_DepartmentStore_3F_MapScripts:: @ 821FC64
LilycoveCity_DepartmentStore_3F_EventScript_21FC65:: @ 821FC65
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_3F_Pokemart_21FC7C
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -25,10 +25,10 @@ LilycoveCity_DepartmentStore_3F_Pokemart_21FC7C: @ 821FC7C
LilycoveCity_DepartmentStore_3F_EventScript_21FC8C:: @ 821FC8C
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_3F_Pokemart_21FCA4
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -16,10 +16,10 @@ LilycoveCity_DepartmentStore_4F_EventScript_21FDFD:: @ 821FDFD
LilycoveCity_DepartmentStore_4F_EventScript_21FE06:: @ 821FE06
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_4F_Pokemart_21FE20
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -36,10 +36,10 @@ LilycoveCity_DepartmentStore_4F_Pokemart_21FE20: @ 821FE20
LilycoveCity_DepartmentStore_4F_EventScript_21FE2C:: @ 821FE2C
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart LilycoveCity_DepartmentStore_4F_Pokemart_21FE44
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -16,10 +16,10 @@ LilycoveCity_DepartmentStore_5F_EventScript_21FF9A:: @ 821FF9A
LilycoveCity_DepartmentStore_5F_EventScript_21FFA6:: @ 821FFA6
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_Dolls
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -44,10 +44,10 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Dolls: @ 821FFC0
LilycoveCity_DepartmentStore_5F_EventScript_21FFDC:: @ 821FFDC
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_Cushions
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -69,10 +69,10 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Cushions: @ 821FFF4
LilycoveCity_DepartmentStore_5F_EventScript_22000A:: @ 822000A
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_Posters
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -94,10 +94,10 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Posters: @ 8220024
LilycoveCity_DepartmentStore_5F_EventScript_22003A:: @ 822003A
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_Mats
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -26,7 +26,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_21C5E4:: @ 821C5E4
LilycoveCity_PokemonCenter_1F_EventScript_21C5E8:: @ 821C5E8
setvar VAR_0x800B, 1
call LilycoveCity_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -271,7 +271,7 @@ LittlerootTown_BrendansHouse_2F_EventScript_1F863F:: @ 81F863F
end
LittlerootTown_BrendansHouse_2F_EventScript_1F864C:: @ 81F864C
msgbox gUnknown_08272CD5, MSGBOX_DEFAULT
msgbox gText_PokemonTrainerSchoolEmail, MSGBOX_DEFAULT
releaseall
end

View File

@@ -307,7 +307,7 @@ EventScript_PlayerPCFemale:: @ 81F9553
end
LittlerootTown_MaysHouse_2F_EventScript_1F956C:: @ 81F956C
msgbox gUnknown_08272CD5, MSGBOX_DEFAULT
msgbox gText_PokemonTrainerSchoolEmail, MSGBOX_DEFAULT
releaseall
end

View File

@@ -107,7 +107,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9DDB:: @ 81F9DDB
LittlerootTown_ProfessorBirchsLab_EventScript_1F9E07:: @ 81F9E07
setvar VAR_0x8004, 0
call Common_EventScript_NameReceivedPokemon
call Common_EventScript_NameReceivedPartyMon
goto LittlerootTown_ProfessorBirchsLab_EventScript_1F9E17
end
@@ -341,7 +341,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA06C:: @ 81FA06C
compare VAR_RESULT, 1
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA0CC
erasemonpic
goto LittlerootTown_ProfessorBirchsLab_EventScript_273811
goto Common_EventScript_NoMoreRoomForPokemon
end
LittlerootTown_ProfessorBirchsLab_EventScript_1FA0A1:: @ 81FA0A1
@@ -350,8 +350,8 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA0A1:: @ 81FA0A1
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA0FD
call LittlerootTown_ProfessorBirchsLab_EventScript_27378B
call Common_EventScript_NameReceivedPokemon
call Common_EventScript_GetGiftMonPartySlot
call Common_EventScript_NameReceivedPartyMon
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA0FD
end
@@ -361,7 +361,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA0CC:: @ 81FA0CC
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA0F2
call LittlerootTown_ProfessorBirchsLab_EventScript_273797
call Common_EventScript_NameReceivedBoxMon
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA0F2
end
@@ -386,7 +386,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA10D:: @ 81FA10D
compare VAR_RESULT, 1
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA16D
erasemonpic
goto LittlerootTown_ProfessorBirchsLab_EventScript_273811
goto Common_EventScript_NoMoreRoomForPokemon
end
LittlerootTown_ProfessorBirchsLab_EventScript_1FA142:: @ 81FA142
@@ -395,8 +395,8 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA142:: @ 81FA142
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA19E
call LittlerootTown_ProfessorBirchsLab_EventScript_27378B
call Common_EventScript_NameReceivedPokemon
call Common_EventScript_GetGiftMonPartySlot
call Common_EventScript_NameReceivedPartyMon
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA19E
end
@@ -406,7 +406,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA16D:: @ 81FA16D
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA193
call LittlerootTown_ProfessorBirchsLab_EventScript_273797
call Common_EventScript_NameReceivedBoxMon
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA193
end
@@ -431,7 +431,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA1AE:: @ 81FA1AE
compare VAR_RESULT, 1
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA20E
erasemonpic
goto LittlerootTown_ProfessorBirchsLab_EventScript_273811
goto Common_EventScript_NoMoreRoomForPokemon
end
LittlerootTown_ProfessorBirchsLab_EventScript_1FA1E3:: @ 81FA1E3
@@ -440,8 +440,8 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA1E3:: @ 81FA1E3
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA23F
call LittlerootTown_ProfessorBirchsLab_EventScript_27378B
call Common_EventScript_NameReceivedPokemon
call Common_EventScript_GetGiftMonPartySlot
call Common_EventScript_NameReceivedPartyMon
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA23F
end
@@ -451,7 +451,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA20E:: @ 81FA20E
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA234
call LittlerootTown_ProfessorBirchsLab_EventScript_273797
call Common_EventScript_NameReceivedBoxMon
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA234
end

View File

@@ -55,12 +55,12 @@ MarineCave_End_EventScript_23B01B:: @ 823B01B
MarineCave_End_EventScript_23B084:: @ 823B084
setvar VAR_SHOULD_END_UNUSUAL_WEATHER, 1
setflag FLAG_DEFEATED_KYOGRE
goto MarineCave_End_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
MarineCave_End_EventScript_23B092:: @ 823B092
setvar VAR_0x8004, 404
goto MarineCave_End_EventScript_273776
setvar VAR_0x8004, SPECIES_KYOGRE
goto Common_EventScript_LegendaryFlewAway
end
MarineCave_End_Movement_23B09D: @ 823B09D

View File

@@ -98,7 +98,7 @@ MauvilleCity_Gym_EventScript_20DF2B:: @ 820DF2B
compare VAR_PETALBURG_GYM_STATE, 6
call_if_eq MauvilleCity_Gym_EventScript_271E84
setvar VAR_0x8008, 3
call MauvilleCity_Gym_EventScript_271F43
call Common_EventScript_SetGymTrainers
special MauvilleGymSpecial3
special DrawWholeMapView
playse SE_KI_GASYAN

View File

@@ -4,10 +4,10 @@ MauvilleCity_Mart_MapScripts:: @ 82110E5
MauvilleCity_Mart_EventScript_2110E6:: @ 82110E6
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart MauvilleCity_Mart_Pokemart_211100
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -5,7 +5,7 @@ MauvilleCity_PokemonCenter_1F_MapScripts:: @ 8210E5B
MauvilleCity_PokemonCenter_1F_OnTransition: @ 8210E66
setrespawn HEAL_LOCATION_MAUVILLE_CITY
call MauvilleCity_PokemonCenter_1F_EventScript_2718DE
call Common_EventScript_UpdateBrineyLocation
goto MauvilleCity_PokemonCenter_1F_EventScript_210E74
end
@@ -15,7 +15,7 @@ MauvilleCity_PokemonCenter_1F_EventScript_210E74:: @ 8210E74
MauvilleCity_PokemonCenter_1F_EventScript_210E78:: @ 8210E78
setvar VAR_0x800B, 1
call MauvilleCity_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -65,7 +65,7 @@ MossdeepCity_Gym_EventScript_2208D1:: @ 82208D1
clearflag FLAG_HIDE_SLATEPORT_CITY_STERNS_SHIPYARD_MR_BRINEY
clearflag FLAG_UNKNOWN_0x393
setvar VAR_0x8008, 7
call MossdeepCity_Gym_EventScript_271F43
call Common_EventScript_SetGymTrainers
clearflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS
clearflag FLAG_HIDE_MOSSDEEP_CITY_TEAM_MAGMA
clearflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA

View File

@@ -4,10 +4,10 @@ MossdeepCity_Mart_MapScripts:: @ 82223C7
MossdeepCity_Mart_EventScript_2223C8:: @ 82223C8
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart MossdeepCity_Mart_Pokemart_2223E0
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -9,7 +9,7 @@ MossdeepCity_PokemonCenter_1F_OnTransition: @ 822224A
MossdeepCity_PokemonCenter_1F_EventScript_22224E:: @ 822224E
setvar VAR_0x800B, 1
call MossdeepCity_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -90,7 +90,7 @@ MossdeepCity_StevensHouse_EventScript_222865:: @ 8222865
goto_if_eq MossdeepCity_StevensHouse_EventScript_222895
compare VAR_RESULT, 1
goto_if_eq MossdeepCity_StevensHouse_EventScript_2228BD
goto MossdeepCity_StevensHouse_EventScript_273811
goto Common_EventScript_NoMoreRoomForPokemon
end
MossdeepCity_StevensHouse_EventScript_222895:: @ 8222895
@@ -98,8 +98,8 @@ MossdeepCity_StevensHouse_EventScript_222895:: @ 8222895
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq MossdeepCity_StevensHouse_EventScript_222901
call MossdeepCity_StevensHouse_EventScript_27378B
call Common_EventScript_NameReceivedPokemon
call Common_EventScript_GetGiftMonPartySlot
call Common_EventScript_NameReceivedPartyMon
goto MossdeepCity_StevensHouse_EventScript_222901
end
@@ -108,7 +108,7 @@ MossdeepCity_StevensHouse_EventScript_2228BD:: @ 82228BD
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq MossdeepCity_StevensHouse_EventScript_2228E0
call MossdeepCity_StevensHouse_EventScript_273797
call Common_EventScript_NameReceivedBoxMon
goto MossdeepCity_StevensHouse_EventScript_2228E0
end

View File

@@ -52,9 +52,9 @@ NavelRock_Bottom_EventScript_2692A2:: @ 82692A2
playmoncry SPECIES_LUGIA, 2
waitmoncry
delay 20
setvar VAR_0x8004, 249
setvar VAR_0x8005, 70
setvar VAR_0x8006, 0
setvar VAR_0x8004, SPECIES_LUGIA
setvar VAR_0x8005, 70 @level
setvar VAR_0x8006, ITEM_NONE
special CreateObedientEnemyMon
setflag FLAG_SYS_CTRL_OBJ_DELETE
special BattleSetup_StartLegendaryBattle
@@ -73,11 +73,11 @@ NavelRock_Bottom_EventScript_2692A2:: @ 82692A2
NavelRock_Bottom_EventScript_269336:: @ 8269336
setflag FLAG_DEFEATED_LUGIA
setvar VAR_0x8004, 249
goto NavelRock_Bottom_EventScript_273776
setvar VAR_0x8004, SPECIES_LUGIA
goto Common_EventScript_LegendaryFlewAway
end
NavelRock_Bottom_EventScript_269344:: @ 8269344
setvar VAR_0x8004, 249
goto NavelRock_Bottom_EventScript_273776
setvar VAR_0x8004, SPECIES_LUGIA
goto Common_EventScript_LegendaryFlewAway
end

View File

@@ -56,9 +56,9 @@ NavelRock_Top_EventScript_26916F:: @ 826916F
applymovement 1, NavelRock_Top_Movement_26923A
waitmovement 0
special RemoveCameraObject
setvar VAR_0x8004, 250
setvar VAR_0x8005, 70
setvar VAR_0x8006, 0
setvar VAR_0x8004, SPECIES_HO_OH
setvar VAR_0x8005, 70 @level
setvar VAR_0x8006, ITEM_NONE
special CreateObedientEnemyMon
setflag FLAG_SYS_CTRL_OBJ_DELETE
special BattleSetup_StartLegendaryBattle
@@ -78,13 +78,13 @@ NavelRock_Top_EventScript_26916F:: @ 826916F
NavelRock_Top_EventScript_269217:: @ 8269217
setflag FLAG_DEFEATED_HO_OH
setvar VAR_0x8004, 250
goto NavelRock_Top_EventScript_273776
setvar VAR_0x8004, SPECIES_HO_OH
goto Common_EventScript_LegendaryFlewAway
end
NavelRock_Top_EventScript_269225:: @ 8269225
setvar VAR_0x8004, 250
goto NavelRock_Top_EventScript_273776
setvar VAR_0x8004, SPECIES_HO_OH
goto Common_EventScript_LegendaryFlewAway
end
NavelRock_Top_Movement_269230: @ 8269230

View File

@@ -202,7 +202,7 @@ NewMauville_Inside_EventScript_2377AF:: @ 82377AF
NewMauville_Inside_EventScript_2377F3:: @ 82377F3
setflag FLAG_DEFEATED_VOLTORB_1_NEW_MAUVILLE
goto NewMauville_Inside_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
NewMauville_Inside_EventScript_2377FC:: @ 82377FC
@@ -229,7 +229,7 @@ NewMauville_Inside_EventScript_2377FC:: @ 82377FC
NewMauville_Inside_EventScript_237840:: @ 8237840
setflag FLAG_DEFEATED_VOLTORB_2_NEW_MAUVILLE
goto NewMauville_Inside_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
NewMauville_Inside_EventScript_237849:: @ 8237849
@@ -256,7 +256,7 @@ NewMauville_Inside_EventScript_237849:: @ 8237849
NewMauville_Inside_EventScript_23788D:: @ 823788D
setflag FLAG_DEFEATED_VOLTORB_3_NEW_MAUVILLE
goto NewMauville_Inside_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
NewMauville_Inside_Text_237896: @ 8237896

View File

@@ -4,11 +4,11 @@ OldaleTown_Mart_MapScripts:: @ 81FC23F
OldaleTown_Mart_EventScript_1FC240:: @ 81FC240
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
goto_if_set FLAG_ADVENTURE_STARTED, OldaleTown_Mart_EventScript_1FC26C
pokemart OldaleTown_Mart_Pokemart_1FC260
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -23,7 +23,7 @@ OldaleTown_Mart_Pokemart_1FC260: @ 81FC260
OldaleTown_Mart_EventScript_1FC26C:: @ 81FC26C
pokemart OldaleTown_Mart_Pokemart_1FC27C
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -5,12 +5,12 @@ OldaleTown_PokemonCenter_1F_MapScripts:: @ 81FC006
OldaleTown_PokemonCenter_1F_OnTransition: @ 81FC011
setrespawn HEAL_LOCATION_OLDALE_TOWN
call OldaleTown_PokemonCenter_1F_EventScript_2718DE
call Common_EventScript_UpdateBrineyLocation
end
OldaleTown_PokemonCenter_1F_EventScript_1FC01A:: @ 81FC01A
setvar VAR_0x800B, 1
call OldaleTown_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -9,7 +9,7 @@ PacifidlogTown_PokemonCenter_1F_OnTransition: @ 82034B2
PacifidlogTown_PokemonCenter_1F_EventScript_2034B6:: @ 82034B6
setvar VAR_0x800B, 1
call PacifidlogTown_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -423,7 +423,7 @@ PetalburgCity_Gym_EventScript_204E3B:: @ 8204E3B
setflag FLAG_HIDE_MAUVILLE_GYM_WATTSON
clearflag FLAG_HIDE_MAUVILLE_CITY_WATTSON
setvar VAR_0x8008, 5
call PetalburgCity_Gym_EventScript_271F43
call Common_EventScript_SetGymTrainers
clearflag FLAG_HIDE_DEWFORD_HALL_SLUDGE_BOMB_MAN
call PetalburgCity_Gym_EventScript_2048FF
special DrawWholeMapView

View File

@@ -4,11 +4,11 @@ PetalburgCity_Mart_MapScripts:: @ 8207D68
PetalburgCity_Mart_EventScript_207D69:: @ 8207D69
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
goto_if_set FLAG_PETALBURG_MART_EXPANDED_ITEMS, PetalburgCity_Mart_EventScript_207DA6
pokemart PetalburgCity_Mart_Pokemart_207D8C
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -31,7 +31,7 @@ PetalburgCity_Mart_Pokemart_207D8C: @ 8207D8C
PetalburgCity_Mart_EventScript_207DA6:: @ 8207DA6
pokemart PetalburgCity_Mart_Pokemart_207DB8
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -5,12 +5,12 @@ PetalburgCity_PokemonCenter_1F_MapScripts:: @ 82079E8
PetalburgCity_PokemonCenter_1F_OnTransition: @ 82079F3
setrespawn HEAL_LOCATION_PETALBURG_CITY
call PetalburgCity_PokemonCenter_1F_EventScript_2718DE
call Common_EventScript_UpdateBrineyLocation
end
PetalburgCity_PokemonCenter_1F_EventScript_2079FC:: @ 82079FC
setvar VAR_0x800B, 1
call PetalburgCity_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -364,7 +364,7 @@ Route104_EventScript_1ED099:: @ 81ED099
applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ED34F
waitmovement 0
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_ROUTE104
call Route104_EventScript_2720A0
call Common_EventScript_PlayBrineysBoatMusic
goto_if_set FLAG_ENABLE_NORMAN_MATCH_CALL, Route104_EventScript_1ED0D9
goto_if_unset FLAG_ENABLE_NORMAN_MATCH_CALL, Route104_EventScript_1ED0EF
end
@@ -398,7 +398,7 @@ Route104_EventScript_1ED139:: @ 81ED139
delay 50
applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ED353
waitmovement 0
call Route104_EventScript_2720A8
call Common_EventScript_StopBrineysBoatMusic
showobjectat EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN
applymovement EVENT_OBJ_ID_PLAYER, Route104_Movement_1ED355
waitmovement 0
@@ -410,7 +410,7 @@ Route104_EventScript_1ED139:: @ 81ED139
waitmovement 0
addobject 4
clearflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
call Route104_EventScript_2720A8
call Common_EventScript_StopBrineysBoatMusic
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT
hideobjectat 7, MAP_ROUTE104
copyvar VAR_BRINEY_LOCATION, VAR_0x8008

View File

@@ -46,10 +46,10 @@ Route104_PrettyPetalFlowerShop_EventScript_22A3DB:: @ 822A3DB
return
Route104_PrettyPetalFlowerShop_EventScript_22A3E4:: @ 822A3E4
message gUnknown_08272A52
message gText_PlayerWhatCanIDoForYou
waitmessage
pokemartdecoration2 Route104_PrettyPetalFlowerShop_Pokemart_Plants
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -34,12 +34,12 @@ Route109_EventScript_1EE7C5:: @ 81EE7C5
Route109_EventScript_1EE7D5:: @ 81EE7D5
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_ROUTE109
call Route109_EventScript_2720A0
call Common_EventScript_PlayBrineysBoatMusic
applymovement 1, Route109_Movement_1EE84F
applymovement EVENT_OBJ_ID_PLAYER, Route109_Movement_1EE84F
waitmovement 0
delay 50
call Route109_EventScript_2720A8
call Common_EventScript_StopBrineysBoatMusic
showobjectat EVENT_OBJ_ID_PLAYER, MAP_DEWFORD_TOWN
applymovement EVENT_OBJ_ID_PLAYER, Route109_Movement_1EE900
waitmovement 0

View File

@@ -209,7 +209,7 @@ Route111_EventScript_1F0F2E:: @ 81F0F2E
end
Route111_EventScript_1F0F45:: @ 81F0F45
msgbox gUnknown_08272C5F, MSGBOX_DEFAULT
msgbox gText_SandstormIsVicious, MSGBOX_DEFAULT
closemessage
compare VAR_0x8004, 0
call_if_eq Route111_EventScript_1F0F7C

View File

@@ -89,7 +89,7 @@ Route119_WeatherInstitute_2F_EventScript_27004D:: @ 827004D
goto_if_eq Route119_WeatherInstitute_2F_EventScript_270085
compare VAR_RESULT, 1
goto_if_eq Route119_WeatherInstitute_2F_EventScript_2700AD
goto Route119_WeatherInstitute_2F_EventScript_273811
goto Common_EventScript_NoMoreRoomForPokemon
end
Route119_WeatherInstitute_2F_EventScript_270085:: @ 8270085
@@ -97,8 +97,8 @@ Route119_WeatherInstitute_2F_EventScript_270085:: @ 8270085
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq Route119_WeatherInstitute_2F_EventScript_2700EA
call Route119_WeatherInstitute_2F_EventScript_27378B
call Common_EventScript_NameReceivedPokemon
call Common_EventScript_GetGiftMonPartySlot
call Common_EventScript_NameReceivedPartyMon
goto Route119_WeatherInstitute_2F_EventScript_2700EA
end
@@ -107,7 +107,7 @@ Route119_WeatherInstitute_2F_EventScript_2700AD:: @ 82700AD
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq Route119_WeatherInstitute_2F_EventScript_2700D0
call Route119_WeatherInstitute_2F_EventScript_273797
call Common_EventScript_NameReceivedBoxMon
goto Route119_WeatherInstitute_2F_EventScript_2700D0
end

View File

@@ -162,7 +162,7 @@ RustboroCity_DevonCorp_2F_EventScript_211A3E:: @ 8211A3E
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211A6E
compare VAR_RESULT, 1
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211A96
goto RustboroCity_DevonCorp_2F_EventScript_273811
goto Common_EventScript_NoMoreRoomForPokemon
end
RustboroCity_DevonCorp_2F_EventScript_211A6E:: @ 8211A6E
@@ -170,8 +170,8 @@ RustboroCity_DevonCorp_2F_EventScript_211A6E:: @ 8211A6E
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211AD7
call RustboroCity_DevonCorp_2F_EventScript_27378B
call Common_EventScript_NameReceivedPokemon
call Common_EventScript_GetGiftMonPartySlot
call Common_EventScript_NameReceivedPartyMon
goto RustboroCity_DevonCorp_2F_EventScript_211AD7
end
@@ -180,7 +180,7 @@ RustboroCity_DevonCorp_2F_EventScript_211A96:: @ 8211A96
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211AB9
call RustboroCity_DevonCorp_2F_EventScript_273797
call Common_EventScript_NameReceivedBoxMon
goto RustboroCity_DevonCorp_2F_EventScript_211AB9
end
@@ -211,7 +211,7 @@ RustboroCity_DevonCorp_2F_EventScript_211AE1:: @ 8211AE1
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211B11
compare VAR_RESULT, 1
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211B39
goto RustboroCity_DevonCorp_2F_EventScript_273811
goto Common_EventScript_NoMoreRoomForPokemon
end
RustboroCity_DevonCorp_2F_EventScript_211B11:: @ 8211B11
@@ -219,8 +219,8 @@ RustboroCity_DevonCorp_2F_EventScript_211B11:: @ 8211B11
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211B7A
call RustboroCity_DevonCorp_2F_EventScript_27378B
call Common_EventScript_NameReceivedPokemon
call Common_EventScript_GetGiftMonPartySlot
call Common_EventScript_NameReceivedPartyMon
goto RustboroCity_DevonCorp_2F_EventScript_211B7A
end
@@ -229,7 +229,7 @@ RustboroCity_DevonCorp_2F_EventScript_211B39:: @ 8211B39
msgbox gText_NicknameThisPokemon, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211B5C
call RustboroCity_DevonCorp_2F_EventScript_273797
call Common_EventScript_NameReceivedBoxMon
goto RustboroCity_DevonCorp_2F_EventScript_211B5C
end

View File

@@ -21,7 +21,7 @@ RustboroCity_Gym_EventScript_212F66:: @ 8212F66
setvar VAR_RUSTBORO_CITY_STATE, 1
addvar VAR_PETALBURG_GYM_STATE, 1
setvar VAR_0x8008, 1
call RustboroCity_Gym_EventScript_271F43
call Common_EventScript_SetGymTrainers
compare VAR_PETALBURG_GYM_STATE, 6
call_if_eq RustboroCity_Gym_EventScript_271E84
goto RustboroCity_Gym_EventScript_212FA4

View File

@@ -4,7 +4,7 @@ RustboroCity_Mart_MapScripts:: @ 8214F05
RustboroCity_Mart_EventScript_214F06:: @ 8214F06
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
goto_if_unset FLAG_MET_DEVON_EMPLOYEE, RustboroCity_Mart_EventScript_214F21
goto_if_set FLAG_MET_DEVON_EMPLOYEE, RustboroCity_Mart_EventScript_214F48
@@ -12,7 +12,7 @@ RustboroCity_Mart_EventScript_214F06:: @ 8214F06
RustboroCity_Mart_EventScript_214F21:: @ 8214F21
pokemart RustboroCity_Mart_Pokemart_214F30
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -33,7 +33,7 @@ RustboroCity_Mart_Pokemart_214F30: @ 8214F30
RustboroCity_Mart_EventScript_214F48:: @ 8214F48
pokemart RustboroCity_Mart_Pokemart_214F58
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -5,12 +5,12 @@ RustboroCity_PokemonCenter_1F_MapScripts:: @ 8214D62
RustboroCity_PokemonCenter_1F_OnTransition: @ 8214D6D
setrespawn HEAL_LOCATION_RUSTBORO_CITY
call RustboroCity_PokemonCenter_1F_EventScript_2718DE
call Common_EventScript_UpdateBrineyLocation
end
RustboroCity_PokemonCenter_1F_EventScript_214D76:: @ 8214D76
setvar VAR_0x800B, 1
call RustboroCity_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -27,7 +27,7 @@ SealedChamber_InnerRoom_EventScript_2391F8:: @ 82391F8
waitstate
playse SE_DOOR
delay 40
msgbox gUnknown_0827301B, MSGBOX_DEFAULT
msgbox gText_DoorOpenedFarAway, MSGBOX_DEFAULT
closemessage
fadeinbgm 0
setflag FLAG_REGI_DOORS_OPENED

View File

@@ -116,7 +116,7 @@ SealedChamber_OuterRoom_EventScript_2391D0:: @ 82391D0
end
SealedChamber_OuterRoom_EventScript_2391E3:: @ 82391E3
msgbox gUnknown_0827304E, MSGBOX_DEFAULT
msgbox gText_BigHoleInTheWall, MSGBOX_DEFAULT
releaseall
end

View File

@@ -122,7 +122,7 @@ SlateportCity_EventScript_1DCDBD:: @ 81DCDBD
message SlateportCity_Text_1DD64A
waitmessage
pokemart SlateportCity_Pokemart_1DCDD4
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -489,10 +489,10 @@ SlateportCity_EventScript_1DD153:: @ 81DD153
SlateportCity_EventScript_1DD16A:: @ 81DD16A
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemartdecoration SlateportCity_PokemartDecor_Dolls
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -506,7 +506,7 @@ SlateportCity_PokemartDecor_Dolls: @ 81DD184
end
SlateportCity_EventScript_1DD18E:: @ 81DD18E
msgbox gUnknown_08272E30, MSGBOX_DEFAULT
msgbox gText_ComeBackWithSecretPower, MSGBOX_DEFAULT
release
end
@@ -514,10 +514,10 @@ SlateportCity_EventScript_1DD198:: @ 81DD198
lock
faceplayer
goto_if_unset FLAG_RECEIVED_SECRET_POWER, SlateportCity_EventScript_1DD18E
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemartdecoration SlateportCity_PokemartDecor_1DD1B8
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -543,10 +543,10 @@ SlateportCity_PokemartDecor_1DD1B8: @ 81DD1B8
SlateportCity_EventScript_1DD1D8:: @ 81DD1D8
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart SlateportCity_Pokemart_1DD1F0
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -873,7 +873,7 @@ SlateportCity_EventScript_1DD557:: @ 81DD557
end
SlateportCity_EventScript_1DD5C1:: @ 81DD5C1
msgbox gUnknown_08272A89, MSGBOX_DEFAULT
msgbox gText_TheBagIsFull, MSGBOX_DEFAULT
special RemoveBerryPowderVendorMenu
release
end

View File

@@ -57,7 +57,7 @@ SlateportCity_House1_EventScript_209B50:: @ 8209B50
SlateportCity_House1_EventScript_209B5A:: @ 8209B5A
msgbox SlateportCity_House1_Text_209CA4, MSGBOX_DEFAULT
call Common_EventScript_NameReceivedPokemon
call Common_EventScript_NameReceivedPartyMon
specialvar VAR_RESULT, TV_PutNameRaterShowOnTheAirIfNicknameChanged
special TV_CopyNicknameToStringVar1AndEnsureTerminated
compare VAR_RESULT, 1

View File

@@ -4,10 +4,10 @@ SlateportCity_Mart_MapScripts:: @ 820DC48
SlateportCity_Mart_EventScript_20DC49:: @ 820DC49
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart SlateportCity_Mart_Pokemart_20DC60
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -71,8 +71,8 @@ SlateportCity_OceanicMuseum_2F_EventScript_20BB00:: @ 820BB00
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceRight
waitmovement 0
msgbox SlateportCity_OceanicMuseum_2F_Text_20C2BE, MSGBOX_DEFAULT
setvar VAR_0x8004, 269
call SlateportCity_OceanicMuseum_2F_EventScript_2723E4
setvar VAR_0x8004, ITEM_DEVON_GOODS
call Common_EventScript_PlayerHandedOverTheItem
msgbox SlateportCity_OceanicMuseum_2F_Text_20C36C, MSGBOX_DEFAULT
closemessage
fadescreen 1

View File

@@ -5,12 +5,12 @@ SlateportCity_PokemonCenter_1F_MapScripts:: @ 820DABF
SlateportCity_PokemonCenter_1F_OnTransition: @ 820DACA
setrespawn HEAL_LOCATION_SLATEPORT_CITY
call SlateportCity_PokemonCenter_1F_EventScript_2718DE
call Common_EventScript_UpdateBrineyLocation
end
SlateportCity_PokemonCenter_1F_EventScript_20DAD3:: @ 820DAD3
setvar VAR_0x800B, 1
call SlateportCity_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -109,7 +109,7 @@ SootopolisCity_Gym_1F_EventScript_224F82:: @ 8224F82
setvar VAR_SOOTOPOLIS_CITY_STATE, 6
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_MAN_1
setvar VAR_0x8008, 8
call SootopolisCity_Gym_1F_EventScript_271F43
call Common_EventScript_SetGymTrainers
call SootopolisCity_Gym_1F_EventScript_224FD4
closemessage
delay 30

View File

@@ -4,10 +4,10 @@ SootopolisCity_Mart_MapScripts:: @ 8226794
SootopolisCity_Mart_EventScript_226795:: @ 8226795
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart SootopolisCity_Mart_Pokemart_2267AC
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -9,7 +9,7 @@ SootopolisCity_PokemonCenter_1F_OnTransition: @ 82264FC
SootopolisCity_PokemonCenter_1F_EventScript_226500:: @ 8226500
setvar VAR_0x800B, 1
call SootopolisCity_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -24,12 +24,12 @@ SouthernIsland_Interior_OnTransition: @ 8242A6E
SouthernIsland_Interior_EventScript_242A8A:: @ 8242A8A
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_LATIOS
setvar VAR_TEMP_4, 408
setvar VAR_TEMP_4, SPECIES_LATIOS
return
SouthernIsland_Interior_EventScript_242A95:: @ 8242A95
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_LATIAS
setvar VAR_TEMP_4, 407
setvar VAR_TEMP_4, SPECIES_LATIAS
return
SouthernIsland_Interior_EventScript_242AA0:: @ 8242AA0
@@ -99,12 +99,12 @@ SouthernIsland_Interior_EventScript_242AD0:: @ 8242AD0
SouthernIsland_Interior_EventScript_242B81:: @ 8242B81
setflag FLAG_DEFEATED_LATIAS_OR_LATIOS
copyvar VAR_0x8004, VAR_TEMP_4
goto SouthernIsland_Interior_EventScript_273776
goto Common_EventScript_LegendaryFlewAway
end
SouthernIsland_Interior_EventScript_242B8F:: @ 8242B8F
copyvar VAR_0x8004, VAR_TEMP_4
goto SouthernIsland_Interior_EventScript_273776
goto Common_EventScript_LegendaryFlewAway
end
SouthernIsland_Interior_EventScript_242B9A:: @ 8242B9A
@@ -113,16 +113,16 @@ SouthernIsland_Interior_EventScript_242B9A:: @ 8242B9A
end
SouthernIsland_Interior_EventScript_242BA4:: @ 8242BA4
setvar VAR_0x8004, 408
setvar VAR_0x8005, 50
setvar VAR_0x8006, 191
setvar VAR_0x8004, SPECIES_LATIOS
setvar VAR_0x8005, 50 @level
setvar VAR_0x8006, ITEM_SOUL_DEW
special CreateObedientEnemyMon
return
SouthernIsland_Interior_EventScript_242BB7:: @ 8242BB7
setvar VAR_0x8004, 407
setvar VAR_0x8005, 50
setvar VAR_0x8006, 191
setvar VAR_0x8004, SPECIES_LATIAS
setvar VAR_0x8005, 50 @level
setvar VAR_0x8006, ITEM_SOUL_DEW
special CreateObedientEnemyMon
return

View File

@@ -55,12 +55,12 @@ TerraCave_End_EventScript_23B0EC:: @ 823B0EC
TerraCave_End_EventScript_23B155:: @ 823B155
setvar VAR_SHOULD_END_UNUSUAL_WEATHER, 1
setflag FLAG_DEFEATED_GROUDON
goto TerraCave_End_EventScript_27376D
goto Common_EventScript_RemoveStaticPokemon
end
TerraCave_End_EventScript_23B163:: @ 823B163
setvar VAR_0x8004, 405
goto TerraCave_End_EventScript_273776
setvar VAR_0x8004, SPECIES_GROUDON
goto Common_EventScript_LegendaryFlewAway
end
TerraCave_End_Movement_23B16E: @ 823B16E

View File

@@ -105,7 +105,7 @@ TrainerHill_Entrance_EventScript_2681EE:: @ 82681EE
TrainerHill_Entrance_EventScript_2681EF:: @ 82681EF
setvar VAR_0x800B, 2
call TrainerHill_Entrance_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release
@@ -261,11 +261,11 @@ TrainerHill_Entrance_EventScript_2683BE:: @ 82683BE
TrainerHill_Entrance_EventScript_2683C7:: @ 82683C7
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
goto_if_set FLAG_SYS_GAME_CLEAR, TrainerHill_Entrance_EventScript_268402
pokemart TrainerHill_Entrance_Pokemart_2683E8
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
@@ -288,7 +288,7 @@ TrainerHill_Entrance_Pokemart_2683E8: @ 82683E8
TrainerHill_Entrance_EventScript_268402:: @ 8268402
pokemart TrainerHill_Entrance_Pokemart_268414
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -29,14 +29,14 @@ TrainerHill_Roof_EventScript_268FF2:: @ 8268FF2
TrainerHill_Roof_EventScript_269020:: @ 8269020
msgbox TrainerHill_Roof_Text_268AC5, MSGBOX_DEFAULT
playfanfare MUS_FANFA1
message gUnknown_08272A78
message gText_ObtainedTheItem
waitfanfare
waitmessage
goto TrainerHill_Roof_EventScript_269054
TrainerHill_Roof_EventScript_269037:: @ 8269037
msgbox TrainerHill_Roof_Text_268AC5, MSGBOX_DEFAULT
msgbox gUnknown_08272A89, MSGBOX_DEFAULT
msgbox gText_TheBagIsFull, MSGBOX_DEFAULT
msgbox TrainerHill_Roof_Text_268B07, MSGBOX_DEFAULT
goto TrainerHill_Roof_EventScript_269054

View File

@@ -4,10 +4,10 @@ VerdanturfTown_Mart_MapScripts:: @ 8202586
VerdanturfTown_Mart_EventScript_202587:: @ 8202587
lock
faceplayer
message gUnknown_08272A21
message gText_HowMayIServeYou
waitmessage
pokemart VerdanturfTown_Mart_Pokemart_2025A0
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end

View File

@@ -5,12 +5,12 @@ VerdanturfTown_PokemonCenter_1F_MapScripts:: @ 8202726
VerdanturfTown_PokemonCenter_1F_OnTransition: @ 8202731
setrespawn HEAL_LOCATION_VERDANTURF_TOWN
call VerdanturfTown_PokemonCenter_1F_EventScript_2718DE
call Common_EventScript_UpdateBrineyLocation
end
VerdanturfTown_PokemonCenter_1F_EventScript_20273A:: @ 820273A
setvar VAR_0x800B, 1
call VerdanturfTown_PokemonCenter_1F_EventScript_27191E
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release

View File

@@ -47,7 +47,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276B19:: @ 8276B19
gotoram
OldaleTown_PokemonCenter_2F_EventScript_276B1A:: @ 8276B1A
msgbox gUnknown_08273178, MSGBOX_NPC
msgbox gText_ThankYouForAccessingMysteryGift, MSGBOX_NPC
end
OldaleTown_PokemonCenter_2F_EventScript_276B23:: @ 8276B23
@@ -64,7 +64,7 @@ OldaleTown_PokemonCenter_2F_EventScript_276B23:: @ 8276B23
end
OldaleTown_PokemonCenter_2F_EventScript_276B62:: @ 8276B62
msgbox gUnknown_08273178, MSGBOX_DEFAULT
msgbox gText_ThankYouForAccessingMysteryGift, MSGBOX_DEFAULT
release
end
@@ -707,13 +707,13 @@ OldaleTown_PokemonCenter_2F_EventScript_277328:: @ 8277328
release
end
OldaleTown_PokemonCenter_2F_EventScript_277335:: @ 8277335
msgbox gUnknown_0827306F, MSGBOX_DEFAULT
CableClub_EventScript_WirelessClubAdjustements:: @ 8277335
msgbox gText_SorryWirelessClubAdjustments, MSGBOX_DEFAULT
release
end
OldaleTown_PokemonCenter_2F_EventScript_27733F:: @ 827733F
msgbox gUnknown_082730BC, MSGBOX_DEFAULT
msgbox gText_UndergoingAdjustments, MSGBOX_DEFAULT
releaseall
end
@@ -977,7 +977,7 @@ OldaleTown_PokemonCenter_2F_EventScript_27751B:: @ 827751B
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, 8
goto_if_unset FLAG_SYS_POKEDEX_GET, OldaleTown_PokemonCenter_2F_EventScript_277335
goto_if_unset FLAG_SYS_POKEDEX_GET, CableClub_EventScript_WirelessClubAdjustements
specialvar VAR_RESULT, sub_813990C
compare VAR_RESULT, 1
goto_if_eq OldaleTown_PokemonCenter_2F_EventScript_27731B
@@ -1052,12 +1052,12 @@ OldaleTown_PokemonCenter_2F_EventScript_277626:: @ 8277626
OldaleTown_PokemonCenter_2F_EventScript_27764C:: @ 827764C
msgbox OldaleTown_PokemonCenter_2F_Text_27893E, MSGBOX_DEFAULT
goto OldaleTown_PokemonCenter_2F_EventScript_273755
goto EventScript_CableClub_SetVarResult0
end
OldaleTown_PokemonCenter_2F_EventScript_27765A:: @ 827765A
msgbox OldaleTown_PokemonCenter_2F_Text_27897B, MSGBOX_DEFAULT
goto OldaleTown_PokemonCenter_2F_EventScript_273755
goto EventScript_CableClub_SetVarResult0
end
OldaleTown_PokemonCenter_2F_EventScript_277668:: @ 8277668
@@ -1068,7 +1068,7 @@ OldaleTown_PokemonCenter_2F_EventScript_277668:: @ 8277668
OldaleTown_PokemonCenter_2F_EventScript_277672:: @ 8277672
lock
faceplayer
goto_if_unset FLAG_SYS_POKEDEX_GET, OldaleTown_PokemonCenter_2F_EventScript_277335
goto_if_unset FLAG_SYS_POKEDEX_GET, CableClub_EventScript_WirelessClubAdjustements
msgbox OldaleTown_PokemonCenter_2F_Text_279937, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq OldaleTown_PokemonCenter_2F_EventScript_27769A
@@ -1085,7 +1085,7 @@ OldaleTown_PokemonCenter_2F_EventScript_2776A4:: @ 82776A4
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, 9
goto_if_unset FLAG_SYS_POKEDEX_GET, OldaleTown_PokemonCenter_2F_EventScript_277335
goto_if_unset FLAG_SYS_POKEDEX_GET, CableClub_EventScript_WirelessClubAdjustements
specialvar VAR_RESULT, sub_813990C
compare VAR_RESULT, 1
goto_if_eq OldaleTown_PokemonCenter_2F_EventScript_27731B
@@ -1856,7 +1856,7 @@ OldaleTown_PokemonCenter_2F_Text_278A39: @ 8278A39
.string "Oh…\n"
.string "Excuse me!$"
OldaleTown_PokemonCenter_1F_Text_278A48: @ 8278A48
CableClub_Text_PlayerIsWaiting: @ 8278A48
.string "It appears as if {STR_VAR_1} is playing\n"
.string "right now.\l"
.string "Go for it!$"

View File

@@ -679,7 +679,7 @@ EventScript_PblocLink_DifferentSelections: @ 8294183
EventScript_PblocLink_CloseLink: @ 8294190
special CloseLink
msgbox gUnknown_08272D9C, MSGBOX_DEFAULT
msgbox gText_PokeblockLinkCanceled, MSGBOX_DEFAULT
releaseall
end

View File

@@ -336,7 +336,7 @@ EventScript_275A50:: @ 8275A50
compare VAR_RESULT, 6
goto_if_eq EventScript_275A91
bufferpartymonnick 0, VAR_RESULT
msgbox gText_23B704, MSGBOX_YESNO
msgbox gText_UseSecretPower, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq EventScript_275CDE
msgbox Text_MonUsedHM, MSGBOX_DEFAULT
@@ -354,12 +354,12 @@ EventScript_275A86:: @ 8275A86
end
EventScript_275A91:: @ 8275A91
msgbox gText_23B6E0, MSGBOX_DEFAULT
msgbox gText_SmallIndentInWall, MSGBOX_DEFAULT
releaseall
end
EventScript_275A9B:: @ 8275A9B
msgbox gText_23B73E, MSGBOX_DEFAULT
msgbox gText_DiscoveredSmallCavern, MSGBOX_DEFAULT
goto EventScript_275B5B
end
@@ -1087,19 +1087,19 @@ Text_276835: @ 8276835
.string "Up to ten SECRET BASE locations\n"
.string "may be registered.$"
Text_27692B: @ 827692B
SecretBase_Text_BattleTowerShield: @ 827692B
.string "A shield of {STR_VAR_2} that marks winning\n"
.string "{STR_VAR_1} times in a row at the BATTLE TOWER.$"
Text_276974: @ 8276974
SecretBase_Text_ToyTV: @ 8276974
.string "A realistic toy TV. It could be easily\n"
.string "mistaken for the real thing.$"
Text_2769B8: @ 82769B8
SecretBase_Text_SeedotTV: @ 82769B8
.string "A toy TV shaped like a SEEDOT.\n"
.string "It looks ready to roll away on its own…$"
Text_2769FF: @ 82769FF
SecretBase_Text_SkittyTV: @ 82769FF
.string "A toy TV shaped like a SKITTY.\n"
.string "It looks ready to stroll away…$"

View File

@@ -30,7 +30,7 @@ EventScript_27EE54:: @ 827EE54
EventScript_27EE8A:: @ 827EE8A
special GetMomOrDadStringForTVMessage
msgbox gUnknown_08272BCF, MSGBOX_DEFAULT
msgbox gText_MomOrDadMightLikeThisProgram, MSGBOX_DEFAULT
special TurnOffTVScreen
releaseall
end
@@ -69,7 +69,7 @@ EventScript_27EED0:: @ 827EED0
EventScript_27EED8:: @ 827EED8
special GetMomOrDadStringForTVMessage
msgbox gUnknown_08272BCF, MSGBOX_DEFAULT
msgbox gText_MomOrDadMightLikeThisProgram, MSGBOX_DEFAULT
goto EventScript_27EED0
end

View File

@@ -429,7 +429,7 @@ gSpecials:: @ 81DBA64
def_special UnionRoomSpecial
def_special sub_801A42C
def_special sub_8016934
def_special sp182_move_string
def_special BufferUnionRoomPlayerName
def_special sub_801DC20
def_special sub_81B8958
def_special sub_8018090
@@ -523,7 +523,7 @@ gSpecials:: @ 81DBA64
def_special TryBufferWaldaPhrase
def_special DoWaldaNamingScreen
def_special TryGetWallpaperWithWaldaPhrase
def_special sub_8139ED0
def_special PlayerAtTrainerHillEntrance
def_special sub_813B968
def_special sub_80F8B94
def_special ShowTrainerHillRecords

View File

@@ -1,13 +1,13 @@
gUnknown_082A5C9C:: @ 82A5C9C
gBirchDexRatingText_AreYouCurious:: @ 82A5C9C
.string "PROF. BIRCH: Ah, {PLAYER}{KUN}!\p"
.string "Are you curious about how your\n"
.string "POKéDEX is coming along?$"
Route101_Text_2A5CEB: @ 82A5CEB
gBirchDexRatingText_Cancel: @ 82A5CEB
.string "Hm? Oh, you haven't caught enough\n"
.string "POKéMON to make it worthwhile.$"
gUnknown_082A5D2C:: @ 82A5D2C
gBirchDexRatingText_SoYouveSeenAndCaught:: @ 82A5D2C
.string "Hmhm…\p"
.string "So, you've seen {STR_VAR_1} POKéMON,\n"
.string "and you've caught {STR_VAR_2} POKéMON…$"
@@ -108,7 +108,7 @@ gBirchDexRatingText_DexCompleted:: @ 82A6312
.string "Congratulations!\n"
.string "Your POKéDEX is complete!$"
gUnknown_082A633D:: @ 82A633D
gBirchDexRatingText_OnANationwideBasis:: @ 82A633D
.string "Hmhm…\n"
.string "On a nationwide basis…\p"
.string "You've seen {STR_VAR_1} POKéMON,\n"

View File

@@ -367,7 +367,7 @@
#define FLAG_MET_SLATEPORT_FANCLUB_CHAIRMAN 0x156
#define FLAG_MET_BATTLE_FRONTIER_BETTOR 0x157
#define FLAG_ENABLE_MR_STONE_POKENAV 0x158
#define FLAG_OLDALE_NURSE_MENTIONS_GOLD_CARD 0x159
#define FLAG_NURSE_MENTIONS_GOLD_CARD 0x159
#define FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR 0x15A
#define FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR 0x15B

View File

@@ -1,8 +1,8 @@
#ifndef GUARD_EVENT_SCRIPTS_H
#define GUARD_EVENT_SCRIPTS_H
extern const u8 gUnknown_0823B4E8[];
extern const u8 gUnknown_0823B5E9[];
extern const u8 EventScript_SecretBasePCCancel[];
extern const u8 EventScript_SecretBasePCStart[];
extern const u8 EventScript_TestSignpostMsg[];
extern const u8 EventScript_TryGetTrainerScript[];
extern const u8 EventScript_275BB7[];

View File

@@ -633,7 +633,7 @@ static void DecorationMenuAction_Cancel(u8 taskId)
RemoveDecorationWindow(0);
if (!gDecorationContext.isPlayerRoom)
{
ScriptContext1_SetupScript(gUnknown_0823B4E8);
ScriptContext1_SetupScript(EventScript_SecretBasePCCancel);
DestroyTask(taskId);
}
else

View File

@@ -2009,7 +2009,7 @@ bool8 warp0_in_pokecenter(void)
return FALSE;
}
bool32 sub_8139ED0(void)
bool32 PlayerAtTrainerHillEntrance(void)
{
if (gSaveBlock1Ptr->location.mapGroup == MAP_GROUP(TRAINER_HILL_ENTRANCE) && gSaveBlock1Ptr->location.mapNum == MAP_NUM(TRAINER_HILL_ENTRANCE))
{

View File

@@ -965,9 +965,9 @@ static const struct MatchCallText *const sMatchCallGeneralTopics[] =
sMatchCallBattlePyramidTexts,
};
extern const u8 gUnknown_082A5C9C[];
extern const u8 gUnknown_082A5D2C[];
extern const u8 gUnknown_082A633D[];
extern const u8 gBirchDexRatingText_AreYouCurious[];
extern const u8 gBirchDexRatingText_SoYouveSeenAndCaught[];
extern const u8 gBirchDexRatingText_OnANationwideBasis[];
void InitMatchCallCounters(void)
{
@@ -1979,10 +1979,10 @@ void sub_8197080(u8 *destStr)
ConvertIntToDecimalStringN(gStringVar1, numSeen, 0, 3);
ConvertIntToDecimalStringN(gStringVar2, numCaught, 0, 3);
dexRatingLevel = GetPokedexRatingLevel(numCaught);
str = StringCopy(buffer, gUnknown_082A5C9C);
str = StringCopy(buffer, gBirchDexRatingText_AreYouCurious);
str[0] = CHAR_PROMPT_CLEAR;
str++;
str = StringCopy(str, gUnknown_082A5D2C);
str = StringCopy(str, gBirchDexRatingText_SoYouveSeenAndCaught);
str[0] = CHAR_PROMPT_CLEAR;
str++;
StringCopy(str, sBirchDexRatingTexts[dexRatingLevel]);
@@ -1996,7 +1996,7 @@ void sub_8197080(u8 *destStr)
numCaught = GetNationalPokedexCount(FLAG_GET_CAUGHT);
ConvertIntToDecimalStringN(gStringVar1, numSeen, 0, 3);
ConvertIntToDecimalStringN(gStringVar2, numCaught, 0, 3);
StringExpandPlaceholders(str, gUnknown_082A633D);
StringExpandPlaceholders(str, gBirchDexRatingText_OnANationwideBasis);
}
Free(buffer);

View File

@@ -1077,9 +1077,9 @@ static void ReturnToMainRegistryMenu(u8 taskId)
static void GoToSecretBasePCMainMenu(u8 taskId)
{
if (VarGet(VAR_CURRENT_SECRET_BASE) == 0)
ScriptContext1_SetupScript(gUnknown_0823B4E8);
ScriptContext1_SetupScript(EventScript_SecretBasePCCancel);
else
ScriptContext1_SetupScript(gUnknown_0823B5E9);
ScriptContext1_SetupScript(EventScript_SecretBasePCStart);
DestroyTask(taskId);
}

View File

@@ -50,7 +50,7 @@
#include "constants/songs.h"
#include "constants/species.h"
EWRAM_DATA u8 gUnknown_02022C20[12] = {};
EWRAM_DATA u8 sUnionRoomPlayerName[12] = {};
EWRAM_DATA u8 gUnknown_02022C2C = 0;
EWRAM_DATA u8 gUnknown_02022C2D = 0;
EWRAM_DATA union UnkUnion_Main gUnknown_02022C30 = {};
@@ -4101,7 +4101,7 @@ void sub_8016934(void)
{
struct UnkStruct_URoom *ptr;
gUnknown_02022C20[0] = EOS;
sUnionRoomPlayerName[0] = EOS;
CreateTask(sub_801697C, 0);
gUnknown_02022C30.uRoom = gUnknown_02022C30.uRoom; // Needed to match.
gUnknown_02022C30.uRoom = ptr = AllocZeroed(0x26C);
@@ -4110,7 +4110,7 @@ void sub_8016934(void)
ptr->textState = 0;
ptr->field_10 = 0;
ptr->field_12 = 0;
gUnknown_02022C20[0] = EOS;
sUnionRoomPlayerName[0] = EOS;
}
void sub_801697C(u8 taskId)
@@ -4149,7 +4149,7 @@ void sub_801697C(u8 taskId)
{
case 1:
case 2:
if (gUnknown_02022C20[0] == EOS)
if (sUnionRoomPlayerName[0] == EOS)
{
for (i = 0; i < PLAYER_NAME_LENGTH + 1; i++)
{
@@ -4158,7 +4158,7 @@ void sub_801697C(u8 taskId)
sub_8018404(text, &structPtr->field_0->arr[i]);
if (sub_800E540(ReadAsU16(structPtr->field_0->arr[i].unk.field_0.unk_00.playerTrainerId), text))
{
StringCopy(gUnknown_02022C20, text);
StringCopy(sUnionRoomPlayerName, text);
break;
}
}
@@ -4182,12 +4182,12 @@ void sub_801697C(u8 taskId)
}
}
bool16 sp182_move_string(void)
bool16 BufferUnionRoomPlayerName(void)
{
if (gUnknown_02022C20[0] != EOS)
if (sUnionRoomPlayerName[0] != EOS)
{
StringCopy(gStringVar1, gUnknown_02022C20);
gUnknown_02022C20[0] = EOS;
StringCopy(gStringVar1, sUnionRoomPlayerName);
sUnionRoomPlayerName[0] = EOS;
return TRUE;
}
else