Name a ton of commonly used event scripts
This commit is contained in:
@@ -824,27 +824,12 @@ Std_10: @ 8271347
|
||||
EventScript_27134E: @ 827134E
|
||||
return
|
||||
|
||||
BattleFrontier_BattleArenaLobby_EventScript_27134F:: @ 827134F
|
||||
BattleFrontier_BattleDomeLobby_EventScript_27134F:: @ 827134F
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_27134F:: @ 827134F
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_27134F:: @ 827134F
|
||||
BattleFrontier_BattlePikeLobby_EventScript_27134F:: @ 827134F
|
||||
BattleFrontier_BattlePyramidLobby_EventScript_27134F:: @ 827134F
|
||||
BattleFrontier_BattleTowerLobby_EventScript_27134F:: @ 827134F
|
||||
FallarborTown_BattleTentLobby_EventScript_27134F:: @ 827134F
|
||||
LilycoveCity_ContestLobby_EventScript_27134F:: @ 827134F
|
||||
MossdeepCity_GameCorner_1F_EventScript_27134F:: @ 827134F
|
||||
OldaleTown_PokemonCenter_2F_EventScript_27134F:: @ 827134F
|
||||
SecretBase_RedCave1_EventScript_27134F:: @ 827134F
|
||||
SlateportCity_BattleTentLobby_EventScript_27134F:: @ 827134F
|
||||
SootopolisCity_MysteryEventsHouse_1F_EventScript_27134F:: @ 827134F
|
||||
TrainerHill_Entrance_EventScript_27134F:: @ 827134F
|
||||
VerdanturfTown_BattleTentLobby_EventScript_27134F:: @ 827134F
|
||||
Common_EventScript_SaveGame:: @ 827134F
|
||||
special SaveGame
|
||||
waitstate
|
||||
return
|
||||
|
||||
EventScript_271354:: @ 8271354
|
||||
EventScript_271354:: @ 8271354
|
||||
cmdD8
|
||||
cmdD9
|
||||
|
||||
@@ -1542,7 +1527,7 @@ EventScript_271C9B:: @ 8271C9B
|
||||
|
||||
EventScript_271CA1:: @ 8271CA1
|
||||
msgbox gUnknown_08272A78, MSGBOX_DEFAULT
|
||||
msgbox gUnknown_08272AD0, MSGBOX_DEFAULT
|
||||
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
|
||||
setvar VAR_RESULT, 0
|
||||
return
|
||||
|
||||
@@ -1594,7 +1579,7 @@ EventScript_271D2A:: @ 8271D2A
|
||||
|
||||
EventScript_271D47:: @ 8271D47
|
||||
msgbox gUnknown_08272ABF, MSGBOX_DEFAULT
|
||||
msgbox gUnknown_08272AD0, MSGBOX_DEFAULT
|
||||
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
|
||||
setvar VAR_RESULT, 0
|
||||
releaseall
|
||||
end
|
||||
@@ -1689,38 +1674,12 @@ EventScript_271E54:: @ 8271E54
|
||||
goto EventScript_271DBC
|
||||
end
|
||||
|
||||
BattleFrontier_OutsideWest_EventScript_271E6A:: @ 8271E6A
|
||||
FallarborTown_EventScript_271E6A:: @ 8271E6A
|
||||
FortreeCity_EventScript_271E6A:: @ 8271E6A
|
||||
LavaridgeTown_EventScript_271E6A:: @ 8271E6A
|
||||
MauvilleCity_EventScript_271E6A:: @ 8271E6A
|
||||
MossdeepCity_EventScript_271E6A:: @ 8271E6A
|
||||
OldaleTown_EventScript_271E6A:: @ 8271E6A
|
||||
PetalburgCity_EventScript_271E6A:: @ 8271E6A
|
||||
RustboroCity_EventScript_271E6A:: @ 8271E6A
|
||||
SlateportCity_EventScript_271E6A:: @ 8271E6A
|
||||
SootopolisCity_EventScript_271E6A:: @ 8271E6A
|
||||
VerdanturfTown_EventScript_271E6A:: @ 8271E6A
|
||||
msgbox gUnknown_08272B6A, MSGBOX_SIGN
|
||||
Common_EventScript_ShowPokemartSign:: @ 8271E6A
|
||||
msgbox gText_PokemartSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
BattleFrontier_OutsideEast_EventScript_271E73:: @ 8271E73
|
||||
DewfordTown_EventScript_271E73:: @ 8271E73
|
||||
EverGrandeCity_EventScript_271E73:: @ 8271E73
|
||||
FallarborTown_EventScript_271E73:: @ 8271E73
|
||||
FortreeCity_EventScript_271E73:: @ 8271E73
|
||||
LavaridgeTown_EventScript_271E73:: @ 8271E73
|
||||
LilycoveCity_EventScript_271E73:: @ 8271E73
|
||||
MauvilleCity_EventScript_271E73:: @ 8271E73
|
||||
MossdeepCity_EventScript_271E73:: @ 8271E73
|
||||
OldaleTown_EventScript_271E73:: @ 8271E73
|
||||
PacifidlogTown_EventScript_271E73:: @ 8271E73
|
||||
PetalburgCity_EventScript_271E73:: @ 8271E73
|
||||
RustboroCity_EventScript_271E73:: @ 8271E73
|
||||
SlateportCity_EventScript_271E73:: @ 8271E73
|
||||
SootopolisCity_EventScript_271E73:: @ 8271E73
|
||||
VerdanturfTown_EventScript_271E73:: @ 8271E73
|
||||
msgbox gUnknown_08272B9E, MSGBOX_SIGN
|
||||
Common_EventScript_ShowPokemonCenterSign:: @ 8271E73
|
||||
msgbox gText_PokemonCenterSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
BattleFrontier_BattleTowerLobby_EventScript_271E7C:: @ 8271E7C
|
||||
@@ -1779,17 +1738,7 @@ EventScript_271ED5:: @ 8271ED5
|
||||
EventScript_271ED6:: @ 8271ED6
|
||||
end
|
||||
|
||||
EverGrandeCity_ChampionsRoom_EventScript_271ED7:: @ 8271ED7
|
||||
LavaridgeTown_EventScript_271ED7:: @ 8271ED7
|
||||
LilycoveCity_EventScript_271ED7:: @ 8271ED7
|
||||
LittlerootTown_EventScript_271ED7:: @ 8271ED7
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_271ED7:: @ 8271ED7
|
||||
OldaleTown_EventScript_271ED7:: @ 8271ED7
|
||||
Route103_EventScript_271ED7:: @ 8271ED7
|
||||
Route104_EventScript_271ED7:: @ 8271ED7
|
||||
Route110_EventScript_271ED7:: @ 8271ED7
|
||||
Route119_EventScript_271ED7:: @ 8271ED7
|
||||
RustboroCity_EventScript_271ED7:: @ 8271ED7
|
||||
Common_EventScript_SetupRivalGender:: @ 8271ED7
|
||||
checkplayergender
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq RustboroCity_EventScript_271EEF
|
||||
@@ -1805,9 +1754,7 @@ RustboroCity_EventScript_271EF5:: @ 8271EF5
|
||||
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
|
||||
return
|
||||
|
||||
LavaridgeTown_EventScript_271EFB:: @ 8271EFB
|
||||
Route110_EventScript_271EFB:: @ 8271EFB
|
||||
Route119_EventScript_271EFB:: @ 8271EFB
|
||||
Common_EventScript_SetupRivalOnBikeGender:: @ 8271EFB
|
||||
checkplayergender
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq LavaridgeTown_EventScript_271F13
|
||||
@@ -1939,119 +1886,34 @@ DewfordTown_Gym_EventScript_272035:: @ 8272035
|
||||
settrainerflag TRAINER_DAPHNE
|
||||
return
|
||||
|
||||
DewfordTown_Gym_EventScript_272054:: @ 8272054
|
||||
DewfordTown_Hall_EventScript_272054:: @ 8272054
|
||||
FallarborTown_House1_EventScript_272054:: @ 8272054
|
||||
FortreeCity_Gym_EventScript_272054:: @ 8272054
|
||||
FortreeCity_House2_EventScript_272054:: @ 8272054
|
||||
FortreeCity_House4_EventScript_272054:: @ 8272054
|
||||
LavaridgeTown_Gym_1F_EventScript_272054:: @ 8272054
|
||||
LavaridgeTown_HerbShop_EventScript_272054:: @ 8272054
|
||||
LilycoveCity_EventScript_272054:: @ 8272054
|
||||
LilycoveCity_House2_EventScript_272054:: @ 8272054
|
||||
LittlerootTown_BrendansHouse_1F_EventScript_272054:: @ 8272054
|
||||
MauvilleCity_EventScript_272054:: @ 8272054
|
||||
MauvilleCity_Gym_EventScript_272054:: @ 8272054
|
||||
MossdeepCity_EventScript_272054:: @ 8272054
|
||||
MossdeepCity_Gym_EventScript_272054:: @ 8272054
|
||||
MossdeepCity_SpaceCenter_1F_EventScript_272054:: @ 8272054
|
||||
MtPyre_1F_EventScript_272054:: @ 8272054
|
||||
PacifidlogTown_House2_EventScript_272054:: @ 8272054
|
||||
PetalburgCity_Gym_EventScript_272054:: @ 8272054
|
||||
PetalburgWoods_EventScript_272054:: @ 8272054
|
||||
Route104_EventScript_272054:: @ 8272054
|
||||
Route104_PrettyPetalFlowerShop_EventScript_272054:: @ 8272054
|
||||
Route109_EventScript_272054:: @ 8272054
|
||||
Route111_EventScript_272054:: @ 8272054
|
||||
Route111_WinstrateFamilysHouse_EventScript_272054:: @ 8272054
|
||||
Route114_EventScript_272054:: @ 8272054
|
||||
Route114_FossilManiacsHouse_EventScript_272054:: @ 8272054
|
||||
Route120_EventScript_272054:: @ 8272054
|
||||
Route123_BerryMastersHouse_EventScript_272054:: @ 8272054
|
||||
Route123_EventScript_272054:: @ 8272054
|
||||
RustboroCity_DevonCorp_3F_EventScript_272054:: @ 8272054
|
||||
RustboroCity_Flat2_2F_EventScript_272054:: @ 8272054
|
||||
RustboroCity_Gym_EventScript_272054:: @ 8272054
|
||||
RustboroCity_PokemonSchool_EventScript_272054:: @ 8272054
|
||||
SSTidalRooms_EventScript_272054:: @ 8272054
|
||||
ShoalCave_LowTideEntranceRoom_EventScript_272054:: @ 8272054
|
||||
ShoalCave_LowTideInnerRoom_EventScript_272054:: @ 8272054
|
||||
ShoalCave_LowTideLowerRoom_EventScript_272054:: @ 8272054
|
||||
ShoalCave_LowTideStairsRoom_EventScript_272054:: @ 8272054
|
||||
SlateportCity_BattleTentLobby_EventScript_272054:: @ 8272054
|
||||
SlateportCity_Harbor_EventScript_272054:: @ 8272054
|
||||
SlateportCity_PokemonFanClub_EventScript_272054:: @ 8272054
|
||||
SootopolisCity_EventScript_272054:: @ 8272054
|
||||
SootopolisCity_Gym_1F_EventScript_272054:: @ 8272054
|
||||
SootopolisCity_House1_EventScript_272054:: @ 8272054
|
||||
VerdanturfTown_BattleTentLobby_EventScript_272054:: @ 8272054
|
||||
msgbox gUnknown_08272AD0, MSGBOX_DEFAULT
|
||||
Common_EventScript_ShowBagIsFull:: @ 8272054
|
||||
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
DewfordTown_Gym_EventScript_27205E:: @ 827205E
|
||||
FortreeCity_Gym_EventScript_27205E:: @ 827205E
|
||||
LavaridgeTown_Gym_1F_EventScript_27205E:: @ 827205E
|
||||
LilycoveCity_ContestLobby_EventScript_27205E:: @ 827205E
|
||||
LinkContestRoom1_EventScript_27205E:: @ 827205E
|
||||
MauvilleCity_GameCorner_EventScript_27205E:: @ 827205E
|
||||
MauvilleCity_Gym_EventScript_27205E:: @ 827205E
|
||||
MossdeepCity_Gym_EventScript_27205E:: @ 827205E
|
||||
PetalburgCity_Gym_EventScript_27205E:: @ 827205E
|
||||
Route110_TrickHouseEnd_EventScript_27205E:: @ 827205E
|
||||
Route110_TrickHouseEntrance_EventScript_27205E:: @ 827205E
|
||||
Route113_GlassWorkshop_EventScript_27205E:: @ 827205E
|
||||
SootopolisCity_Gym_1F_EventScript_27205E:: @ 827205E
|
||||
msgbox gUnknown_08272AD0, MSGBOX_DEFAULT
|
||||
Common_EventScript_BagIsFull:: @ 827205E
|
||||
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
Route114_LanettesHouse_EventScript_272067:: @ 8272067
|
||||
msgbox gUnknown_08272B1A, MSGBOX_DEFAULT
|
||||
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_LilycoveMuseum_2F_EventScript_272071:: @ 8272071
|
||||
MauvilleCity_GameCorner_EventScript_272071:: @ 8272071
|
||||
Route110_TrickHouseEnd_EventScript_272071:: @ 8272071
|
||||
Route110_TrickHouseEntrance_EventScript_272071:: @ 8272071
|
||||
Route113_GlassWorkshop_EventScript_272071:: @ 8272071
|
||||
msgbox gUnknown_08272B1A, MSGBOX_DEFAULT
|
||||
Common_EventScript_NoRoomLeftForAnother:: @ 8272071
|
||||
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
EverGrandeCity_EventScript_27207A:: @ 827207A
|
||||
LilycoveCity_EventScript_27207A:: @ 827207A
|
||||
MossdeepCity_EventScript_27207A:: @ 827207A
|
||||
Route124_EventScript_27207A:: @ 827207A
|
||||
Route125_EventScript_27207A:: @ 827207A
|
||||
Route126_EventScript_27207A:: @ 827207A
|
||||
Route127_EventScript_27207A:: @ 827207A
|
||||
Route128_EventScript_27207A:: @ 827207A
|
||||
Route129_EventScript_27207A:: @ 827207A
|
||||
Route130_EventScript_27207A:: @ 827207A
|
||||
Route131_EventScript_27207A:: @ 827207A
|
||||
SkyPillar_Outside_EventScript_27207A:: @ 827207A
|
||||
SootopolisCity_EventScript_27207A:: @ 827207A
|
||||
setweather 15
|
||||
Common_EventScript_SetWeather15:: @ 827207A
|
||||
setweather WEATHER_15
|
||||
return
|
||||
|
||||
DewfordTown_Gym_EventScript_27207E:: @ 827207E
|
||||
FortreeCity_Gym_EventScript_27207E:: @ 827207E
|
||||
LavaridgeTown_Gym_1F_EventScript_27207E:: @ 827207E
|
||||
LilycoveCity_CoveLilyMotel_2F_EventScript_27207E:: @ 827207E
|
||||
MauvilleCity_Gym_EventScript_27207E:: @ 827207E
|
||||
MossdeepCity_Gym_EventScript_27207E:: @ 827207E
|
||||
PetalburgCity_Gym_EventScript_27207E:: @ 827207E
|
||||
RustboroCity_Gym_EventScript_27207E:: @ 827207E
|
||||
SootopolisCity_Gym_1F_EventScript_27207E:: @ 827207E
|
||||
Common_EventScript_PlayGymBadgeFanfare:: @ 827207E
|
||||
playfanfare MUS_ME_BACHI
|
||||
waitfanfare
|
||||
return
|
||||
|
||||
LittlerootTown_BrendansHouse_1F_EventScript_272083:: @ 8272083
|
||||
Route111_OldLadysRestStop_EventScript_272083:: @ 8272083
|
||||
Route119_WeatherInstitute_1F_EventScript_272083:: @ 8272083
|
||||
RustboroCity_DevonCorp_3F_EventScript_272083:: @ 8272083
|
||||
SSTidalRooms_EventScript_272083:: @ 8272083
|
||||
Common_EventScript_OutOfCenterPartyHeal:: @ 8272083
|
||||
fadescreen 1
|
||||
playfanfare MUS_ME_ASA
|
||||
waitfanfare
|
||||
@@ -2061,7 +1923,7 @@ SSTidalRooms_EventScript_272083:: @ 8272083
|
||||
|
||||
EventScript_RegionMap:: @ 827208F
|
||||
lockall
|
||||
msgbox LittlerootTown_BrendansHouse_2F_Text_1F8820, MSGBOX_DEFAULT
|
||||
msgbox Common_Text_LookCloserAtMap, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
special FieldShowRegionMap
|
||||
waitstate
|
||||
@@ -2413,11 +2275,7 @@ Route120_Movement_2723C7: @ 82723C7
|
||||
set_visible
|
||||
step_end
|
||||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_2723DD:: @ 82723DD
|
||||
MossdeepCity_StevensHouse_EventScript_2723DD:: @ 82723DD
|
||||
Route119_WeatherInstitute_2F_EventScript_2723DD:: @ 82723DD
|
||||
RustboroCity_DevonCorp_2F_EventScript_2723DD:: @ 82723DD
|
||||
SlateportCity_House1_EventScript_2723DD:: @ 82723DD
|
||||
Common_EventScript_NameReceivedPokemon:: @ 82723DD
|
||||
fadescreen 1
|
||||
special ChangePokemonNickname
|
||||
waitstate
|
||||
@@ -3033,7 +2891,7 @@ gUnknown_08272A9A:: @ 8272A9A
|
||||
gUnknown_08272ABF:: @ 8272ABF
|
||||
.string "{PLAYER} found one {STR_VAR_2}!$"
|
||||
|
||||
gUnknown_08272AD0:: @ 8272AD0
|
||||
gText_TooBadBagIsFull:: @ 8272AD0
|
||||
.string "Too bad!\nThe BAG is full…$"
|
||||
|
||||
gUnknown_08272AEA:: @ 8272AEA
|
||||
@@ -3042,16 +2900,16 @@ gUnknown_08272AEA:: @ 8272AEA
|
||||
gUnknown_08272B09:: @ 8272B09
|
||||
.string "Obtained the {STR_VAR_2}!$"
|
||||
|
||||
gUnknown_08272B1A:: @ 8272B1A
|
||||
gText_NoRoomLeftForAnother:: @ 8272B1A
|
||||
.string "Too bad! There's no room left for\nanother {STR_VAR_2}…$"
|
||||
|
||||
gUnknown_08272B48:: @ 8272B48
|
||||
.string "The {STR_VAR_2} was transferred\nto the PC.$"
|
||||
|
||||
gUnknown_08272B6A:: @ 8272B6A
|
||||
gText_PokemartSign:: @ 8272B6A
|
||||
.string "“Selected items for your convenience!”\nPOKéMON MART$"
|
||||
|
||||
gUnknown_08272B9E:: @ 8272B9E
|
||||
gText_PokemonCenterSign:: @ 8272B9E
|
||||
.string "“Rejuvenate your tired partners!”\nPOKéMON CENTER$"
|
||||
|
||||
gUnknown_08272BCF:: @ 8272BCF
|
||||
|
||||
@@ -199,7 +199,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
|
||||
special LoadPlayerParty
|
||||
closemessage
|
||||
delay 2
|
||||
call BattleFrontier_BattleArenaLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FE1
|
||||
|
||||
@@ -248,7 +248,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
|
||||
special LoadPlayerParty
|
||||
closemessage
|
||||
delay 2
|
||||
call BattleFrontier_BattleDomeLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C4A
|
||||
|
||||
@@ -208,7 +208,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
|
||||
special CallFrontierUtilFunc
|
||||
closemessage
|
||||
delay 2
|
||||
call BattleFrontier_BattleFactoryLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258783
|
||||
|
||||
@@ -223,7 +223,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
|
||||
special LoadPlayerParty
|
||||
closemessage
|
||||
delay 2
|
||||
call BattleFrontier_BattlePalaceLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A
|
||||
|
||||
@@ -195,7 +195,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
|
||||
special LoadPlayerParty
|
||||
closemessage
|
||||
delay 2
|
||||
call BattleFrontier_BattlePikeLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
setvar VAR_0x8004, 26
|
||||
special CallBattlePikeFunction
|
||||
|
||||
@@ -200,7 +200,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2509A5:: @ 82509A5
|
||||
special LoadPlayerParty
|
||||
closemessage
|
||||
delay 2
|
||||
call BattleFrontier_BattlePyramidLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250AAA
|
||||
|
||||
@@ -300,7 +300,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EA2A:: @ 823EA2A
|
||||
special LoadPlayerParty
|
||||
closemessage
|
||||
delay 2
|
||||
call BattleFrontier_BattleTowerLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
|
||||
@@ -380,7 +380,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EB93:: @ 823EB93
|
||||
special LoadPlayerParty
|
||||
closemessage
|
||||
delay 2
|
||||
call BattleFrontier_BattleTowerLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
|
||||
@@ -461,7 +461,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23ECFF:: @ 823ECFF
|
||||
special LoadPlayerParty
|
||||
closemessage
|
||||
delay 2
|
||||
call BattleFrontier_BattleTowerLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
|
||||
@@ -544,7 +544,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EE68:: @ 823EE68
|
||||
setvar VAR_0x8004, 6
|
||||
setvar VAR_0x8005, 0
|
||||
special sub_8161F74
|
||||
call BattleFrontier_BattleTowerLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F0D0
|
||||
|
||||
@@ -515,7 +515,7 @@
|
||||
"y": 51,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_OutsideEast_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -523,7 +523,7 @@
|
||||
"y": 51,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_OutsideEast_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -444,7 +444,7 @@
|
||||
"y": 51,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_OutsideWest_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -452,7 +452,7 @@
|
||||
"y": 51,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_OutsideWest_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -152,7 +152,7 @@
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "DewfordTown_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -160,7 +160,7 @@
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "DewfordTown_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
|
||||
@@ -169,7 +169,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
|
||||
call DewfordTown_Gym_EventScript_1FC75D
|
||||
message DewfordTown_Gym_Text_1FD07D
|
||||
waitmessage
|
||||
call DewfordTown_Gym_EventScript_27207E
|
||||
call Common_EventScript_PlayGymBadgeFanfare
|
||||
msgbox DewfordTown_Gym_Text_1FD0A8, MSGBOX_DEFAULT
|
||||
setflag FLAG_DEFEATED_DEWFORD_GYM
|
||||
setflag FLAG_BADGE02_GET
|
||||
@@ -195,7 +195,7 @@ DewfordTown_Gym_EventScript_1FC7F7:: @ 81FC7F7
|
||||
DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
|
||||
giveitem_std ITEM_TM08
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq DewfordTown_Gym_EventScript_27205E
|
||||
goto_if_eq Common_EventScript_BagIsFull
|
||||
msgbox DewfordTown_Gym_Text_1FD181, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM08
|
||||
return
|
||||
@@ -203,7 +203,7 @@ DewfordTown_Gym_EventScript_1FC855:: @ 81FC855
|
||||
DewfordTown_Gym_EventScript_1FC878:: @ 81FC878
|
||||
giveitem_std ITEM_TM08
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq DewfordTown_Gym_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
msgbox DewfordTown_Gym_Text_1FD181, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM08
|
||||
release
|
||||
|
||||
@@ -256,7 +256,7 @@ DewfordTown_Hall_EventScript_1FD7DA:: @ 81FD7DA
|
||||
msgbox DewfordTown_Hall_Text_1FE142, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM36
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq DewfordTown_Hall_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM36
|
||||
release
|
||||
end
|
||||
|
||||
@@ -166,7 +166,7 @@
|
||||
"y": 48,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "EverGrandeCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -190,7 +190,7 @@
|
||||
"y": 48,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "EverGrandeCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,7 @@ EverGrandeCity_MapScripts:: @ 81E7D1B
|
||||
.byte 0
|
||||
|
||||
EverGrandeCity_MapScript1_1E7D21: @ 81E7D21
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, EverGrandeCity_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
end
|
||||
|
||||
EverGrandeCity_EventScript_1E7D2B:: @ 81E7D2B
|
||||
|
||||
@@ -5,7 +5,7 @@ EverGrandeCity_ChampionsRoom_MapScripts:: @ 82289EF
|
||||
.byte 0
|
||||
|
||||
EverGrandeCity_ChampionsRoom_MapScript1_2289FF: @ 82289FF
|
||||
call EverGrandeCity_ChampionsRoom_EventScript_271ED7
|
||||
call Common_EventScript_SetupRivalGender
|
||||
end
|
||||
|
||||
EverGrandeCity_ChampionsRoom_MapScript2_228A05: @ 8228A05
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
"y": 15,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "FallarborTown_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -131,7 +131,7 @@
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "FallarborTown_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -147,7 +147,7 @@
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "FallarborTown_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -163,7 +163,7 @@
|
||||
"y": 15,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "FallarborTown_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
|
||||
@@ -191,7 +191,7 @@ FallarborTown_BattleTentLobby_EventScript_2000E2:: @ 82000E2
|
||||
special LoadPlayerParty
|
||||
closemessage
|
||||
delay 2
|
||||
call FallarborTown_BattleTentLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq FallarborTown_BattleTentLobby_EventScript_2001AB
|
||||
|
||||
@@ -20,7 +20,7 @@ FallarborTown_House1_EventScript_200F38:: @ 8200F38
|
||||
msgbox FallarborTown_House1_Text_201159, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM27
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq FallarborTown_House1_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setvar VAR_0x8004, 280
|
||||
call FallarborTown_House1_EventScript_2723E4
|
||||
setflag FLAG_RECEIVED_TM27
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "FortreeCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -206,7 +206,7 @@
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "FortreeCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -222,7 +222,7 @@
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "FortreeCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -230,7 +230,7 @@
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "FortreeCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -28,7 +28,7 @@ FortreeCity_Gym_EventScript_2165C8:: @ 82165C8
|
||||
FortreeCity_Gym_EventScript_2165FD:: @ 82165FD
|
||||
message FortreeCity_Gym_Text_216EEC
|
||||
waitmessage
|
||||
call FortreeCity_Gym_EventScript_27207E
|
||||
call Common_EventScript_PlayGymBadgeFanfare
|
||||
msgbox FortreeCity_Gym_Text_216F17, MSGBOX_DEFAULT
|
||||
setflag FLAG_DEFEATED_FORTREE_GYM
|
||||
setflag FLAG_BADGE06_GET
|
||||
@@ -51,7 +51,7 @@ FortreeCity_Gym_EventScript_2165FD:: @ 82165FD
|
||||
FortreeCity_Gym_EventScript_216646:: @ 8216646
|
||||
giveitem_std ITEM_TM40
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq FortreeCity_Gym_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
msgbox FortreeCity_Gym_Text_216FEC, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM40
|
||||
release
|
||||
@@ -60,7 +60,7 @@ FortreeCity_Gym_EventScript_216646:: @ 8216646
|
||||
FortreeCity_Gym_EventScript_21666A:: @ 821666A
|
||||
giveitem_std ITEM_TM40
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq FortreeCity_Gym_EventScript_27205E
|
||||
goto_if_eq Common_EventScript_BagIsFull
|
||||
msgbox FortreeCity_Gym_Text_216FEC, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM40
|
||||
return
|
||||
|
||||
@@ -21,7 +21,7 @@ FortreeCity_House2_EventScript_2177CB:: @ 82177CB
|
||||
msgbox FortreeCity_House2_Text_217A28, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM10
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq FortreeCity_House2_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM10
|
||||
msgbox FortreeCity_House2_Text_217A91, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
@@ -33,7 +33,7 @@ FortreeCity_House4_EventScript_217CD8:: @ 8217CD8
|
||||
msgbox FortreeCity_House4_Text_217E05, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_MENTAL_HERB
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq FortreeCity_House4_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_MENTAL_HERB
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -216,7 +216,7 @@
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "LavaridgeTown_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -232,7 +232,7 @@
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "LavaridgeTown_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -240,7 +240,7 @@
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "LavaridgeTown_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -248,7 +248,7 @@
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "LavaridgeTown_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
|
||||
@@ -7,8 +7,8 @@ LavaridgeTown_MapScript1_1EA4DE: @ 81EA4DE
|
||||
setflag FLAG_VISITED_LAVARIDGE_TOWN
|
||||
call_if_set FLAG_FLANNERY_GIVES_BADGE_INFO, LavaridgeTown_EventScript_1EA514
|
||||
call_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, LavaridgeTown_EventScript_1EA53F
|
||||
call LavaridgeTown_EventScript_271ED7
|
||||
call LavaridgeTown_EventScript_271EFB
|
||||
call Common_EventScript_SetupRivalGender
|
||||
call Common_EventScript_SetupRivalOnBikeGender
|
||||
compare VAR_0x4053, 1
|
||||
call_if_eq LavaridgeTown_EventScript_1EA518
|
||||
compare VAR_0x4053, 1
|
||||
|
||||
@@ -71,7 +71,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE78C:: @ 81FE78C
|
||||
LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
|
||||
message LavaridgeTown_Gym_1F_Text_1FF32F
|
||||
waitmessage
|
||||
call LavaridgeTown_Gym_1F_EventScript_27207E
|
||||
call Common_EventScript_PlayGymBadgeFanfare
|
||||
msgbox LavaridgeTown_Gym_1F_Text_1FF359, MSGBOX_DEFAULT
|
||||
setflag FLAG_FLANNERY_GIVES_BADGE_INFO
|
||||
setflag FLAG_DEFEATED_LAVARIDGE_GYM
|
||||
@@ -98,7 +98,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE7C1:: @ 81FE7C1
|
||||
LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
|
||||
giveitem_std ITEM_TM50
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LavaridgeTown_Gym_1F_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
msgbox LavaridgeTown_Gym_1F_Text_1FF45C, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM50
|
||||
release
|
||||
@@ -107,7 +107,7 @@ LavaridgeTown_Gym_1F_EventScript_1FE81D:: @ 81FE81D
|
||||
LavaridgeTown_Gym_1F_EventScript_1FE841:: @ 81FE841
|
||||
giveitem_std ITEM_TM50
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LavaridgeTown_Gym_1F_EventScript_27205E
|
||||
goto_if_eq Common_EventScript_BagIsFull
|
||||
msgbox LavaridgeTown_Gym_1F_Text_1FF45C, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM50
|
||||
return
|
||||
|
||||
@@ -32,7 +32,7 @@ LavaridgeTown_HerbShop_EventScript_1FE505:: @ 81FE505
|
||||
msgbox LavaridgeTown_HerbShop_Text_1FE584, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_CHARCOAL
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LavaridgeTown_HerbShop_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLFLAG_RECEIVED_CHARCOAL
|
||||
release
|
||||
end
|
||||
|
||||
@@ -428,7 +428,7 @@
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "LilycoveCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -444,7 +444,7 @@
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "LilycoveCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
|
||||
@@ -7,8 +7,8 @@ LilycoveCity_MapScript1_1E2B47: @ 81E2B47
|
||||
setflag FLAG_VISITED_LILYCOVE_CITY
|
||||
setvar VAR_0x4086, 0
|
||||
setflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, LilycoveCity_EventScript_27207A
|
||||
call LilycoveCity_EventScript_271ED7
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
call Common_EventScript_SetupRivalGender
|
||||
end
|
||||
|
||||
LilycoveCity_MapScript1_1E2B61: @ 81E2B61
|
||||
@@ -40,7 +40,7 @@ LilycoveCity_EventScript_1E2BD8:: @ 81E2BD8
|
||||
addvar VAR_RESULT, 133
|
||||
giveitem_std VAR_RESULT
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LilycoveCity_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_DAILY_LILYCOVE_RECEIVED_BERRY
|
||||
msgbox LilycoveCity_Text_2A72E3, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
@@ -642,7 +642,7 @@ LilycoveCity_ContestLobby_EventScript_21A856:: @ 821A856
|
||||
msgbox LilycoveCity_ContestLobby_Text_27BD17, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
|
||||
call LilycoveCity_ContestLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LilycoveCity_ContestLobby_EventScript_21A97F
|
||||
message LilycoveCity_ContestLobby_Text_27C8FD
|
||||
|
||||
@@ -26,7 +26,7 @@ LilycoveCity_CoveLilyMotel_2F_EventScript_218702:: @ 8218702
|
||||
LilycoveCity_CoveLilyMotel_2F_EventScript_21870F:: @ 821870F
|
||||
message LilycoveCity_CoveLilyMotel_2F_Text_21881C
|
||||
waitmessage
|
||||
call LilycoveCity_CoveLilyMotel_2F_EventScript_27207E
|
||||
call Common_EventScript_PlayGymBadgeFanfare
|
||||
special Special_ShowDiploma
|
||||
waitstate
|
||||
release
|
||||
|
||||
@@ -8,7 +8,7 @@ LilycoveCity_House2_EventScript_21ED75:: @ 821ED75
|
||||
msgbox LilycoveCity_House2_Text_21EDB6, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM44
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LilycoveCity_House2_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM44
|
||||
msgbox LilycoveCity_House2_Text_21EDF9, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
@@ -127,7 +127,7 @@ LilycoveCity_LilycoveMuseum_2F_EventScript_2198EA:: @ 82198EA
|
||||
end
|
||||
|
||||
LilycoveCity_LilycoveMuseum_2F_EventScript_219911:: @ 8219911
|
||||
call LilycoveCity_LilycoveMuseum_2F_EventScript_272071
|
||||
call Common_EventScript_NoRoomLeftForAnother
|
||||
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219EED, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
releaseall
|
||||
|
||||
@@ -6,7 +6,7 @@ LittlerootTown_MapScripts:: @ 81E7DCB
|
||||
|
||||
LittlerootTown_MapScript1_1E7DDB: @ 81E7DDB
|
||||
setflag FLAG_VISITED_LITTLEROOT_TOWN
|
||||
call LittlerootTown_EventScript_271ED7
|
||||
call Common_EventScript_SetupRivalGender
|
||||
compare VAR_0x4092, 2
|
||||
call_if_eq LittlerootTown_EventScript_1E7E67
|
||||
call_if_unset FLAG_RESCUED_BIRCH, LittlerootTown_EventScript_1E7E6F
|
||||
|
||||
@@ -307,7 +307,7 @@ LittlerootTown_BrendansHouse_2F_Text_1F877F: @ 81F877F
|
||||
.string "Record your progress with SAVE.\p"
|
||||
.string "The remaining pages are blank…$"
|
||||
|
||||
LittlerootTown_BrendansHouse_2F_Text_1F8820: @ 81F8820
|
||||
Common_Text_LookCloserAtMap: @ 81F8820
|
||||
.string "{PLAYER} took a closer look at the\n"
|
||||
.string "HOENN region map.$"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ LittlerootTown_ProfessorBirchsLab_MapScripts:: @ 81F9C91
|
||||
.byte 0
|
||||
|
||||
LittlerootTown_ProfessorBirchsLab_MapScript1_1F9CA1: @ 81F9CA1
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_271ED7
|
||||
call Common_EventScript_SetupRivalGender
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_2720AD
|
||||
compare VAR_0x40D3, 6
|
||||
goto_if_ge LittlerootTown_ProfessorBirchsLab_EventScript_1F9CF7
|
||||
@@ -107,7 +107,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1F9DDB:: @ 81F9DDB
|
||||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_1F9E07:: @ 81F9E07
|
||||
setvar VAR_0x8004, 0
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_2723DD
|
||||
call Common_EventScript_NameReceivedPokemon
|
||||
goto LittlerootTown_ProfessorBirchsLab_EventScript_1F9E17
|
||||
end
|
||||
|
||||
@@ -351,7 +351,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA0A1:: @ 81FA0A1
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA0FD
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_27378B
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_2723DD
|
||||
call Common_EventScript_NameReceivedPokemon
|
||||
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA0FD
|
||||
end
|
||||
|
||||
@@ -396,7 +396,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA142:: @ 81FA142
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA19E
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_27378B
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_2723DD
|
||||
call Common_EventScript_NameReceivedPokemon
|
||||
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA19E
|
||||
end
|
||||
|
||||
@@ -441,7 +441,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_1FA1E3:: @ 81FA1E3
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_1FA23F
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_27378B
|
||||
call LittlerootTown_ProfessorBirchsLab_EventScript_2723DD
|
||||
call Common_EventScript_NameReceivedPokemon
|
||||
goto LittlerootTown_ProfessorBirchsLab_EventScript_1FA23F
|
||||
end
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "MauvilleCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -254,7 +254,7 @@
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "MauvilleCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -262,7 +262,7 @@
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "MauvilleCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -270,7 +270,7 @@
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "MauvilleCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
|
||||
@@ -440,7 +440,7 @@ MauvilleCity_EventScript_1DF784:: @ 81DF784
|
||||
msgbox MauvilleCity_Text_1E020E, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM24
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MauvilleCity_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_GOT_TM24_FROM_WATTSON
|
||||
msgbox MauvilleCity_Text_1E02AA, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
@@ -215,7 +215,7 @@ MauvilleCity_GameCorner_EventScript_20FE79:: @ 820FE79
|
||||
end
|
||||
|
||||
MauvilleCity_GameCorner_EventScript_20FE87:: @ 820FE87
|
||||
call MauvilleCity_GameCorner_EventScript_272071
|
||||
call Common_EventScript_NoRoomLeftForAnother
|
||||
goto MauvilleCity_GameCorner_EventScript_20FD20
|
||||
end
|
||||
|
||||
@@ -383,7 +383,7 @@ MauvilleCity_GameCorner_EventScript_2100FF:: @ 82100FF
|
||||
end
|
||||
|
||||
MauvilleCity_GameCorner_EventScript_21010D:: @ 821010D
|
||||
call MauvilleCity_GameCorner_EventScript_27205E
|
||||
call Common_EventScript_BagIsFull
|
||||
goto MauvilleCity_GameCorner_EventScript_20FECE
|
||||
end
|
||||
|
||||
@@ -448,7 +448,7 @@ MauvilleCity_GameCorner_EventScript_2101D0:: @ 82101D0
|
||||
end
|
||||
|
||||
MauvilleCity_GameCorner_EventScript_2101FA:: @ 82101FA
|
||||
call MauvilleCity_GameCorner_EventScript_272071
|
||||
call Common_EventScript_NoRoomLeftForAnother
|
||||
msgbox MauvilleCity_GameCorner_Text_2107A9, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -88,7 +88,7 @@ MauvilleCity_Gym_EventScript_20DEEB:: @ 820DEEB
|
||||
MauvilleCity_Gym_EventScript_20DF2B:: @ 820DF2B
|
||||
message MauvilleCity_Gym_Text_20E77F
|
||||
waitmessage
|
||||
call MauvilleCity_Gym_EventScript_27207E
|
||||
call Common_EventScript_PlayGymBadgeFanfare
|
||||
msgbox MauvilleCity_Gym_Text_20E7AA, MSGBOX_DEFAULT
|
||||
setvar VAR_0x40D2, 3
|
||||
clearflag FLAG_HIDE_VERDANTURF_TOWN_SCOTT
|
||||
@@ -117,7 +117,7 @@ MauvilleCity_Gym_EventScript_20DF2B:: @ 820DF2B
|
||||
MauvilleCity_Gym_EventScript_20DF8D:: @ 820DF8D
|
||||
giveitem_std ITEM_TM34
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MauvilleCity_Gym_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
msgbox MauvilleCity_Gym_Text_20E844, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM34
|
||||
release
|
||||
@@ -126,7 +126,7 @@ MauvilleCity_Gym_EventScript_20DF8D:: @ 820DF8D
|
||||
MauvilleCity_Gym_EventScript_20DFB1:: @ 820DFB1
|
||||
giveitem_std ITEM_TM34
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MauvilleCity_Gym_EventScript_27205E
|
||||
goto_if_eq Common_EventScript_BagIsFull
|
||||
msgbox MauvilleCity_Gym_Text_20E844, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM34
|
||||
return
|
||||
|
||||
@@ -439,7 +439,7 @@
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "MossdeepCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -447,7 +447,7 @@
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "MossdeepCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -463,7 +463,7 @@
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "MossdeepCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -471,7 +471,7 @@
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "MossdeepCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
|
||||
@@ -7,7 +7,7 @@ MossdeepCity_MapScript1_1E4A9C: @ 81E4A9C
|
||||
clearflag FLAG_MOSSDEEP_GYM_SWITCH_2
|
||||
clearflag FLAG_MOSSDEEP_GYM_SWITCH_3
|
||||
clearflag FLAG_MOSSDEEP_GYM_SWITCH_4
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, MossdeepCity_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_1E4AB2:: @ 81E4AB2
|
||||
@@ -231,7 +231,7 @@ MossdeepCity_EventScript_1E4C26:: @ 81E4C26
|
||||
msgbox MossdeepCity_Text_1E4D5B, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_KINGS_ROCK
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MossdeepCity_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_KINGS_ROCK
|
||||
release
|
||||
end
|
||||
|
||||
@@ -57,7 +57,7 @@ MossdeepCity_Gym_EventScript_220898:: @ 8220898
|
||||
MossdeepCity_Gym_EventScript_2208D1:: @ 82208D1
|
||||
message MossdeepCity_Gym_Text_22196A
|
||||
waitmessage
|
||||
call MossdeepCity_Gym_EventScript_27207E
|
||||
call Common_EventScript_PlayGymBadgeFanfare
|
||||
msgbox MossdeepCity_Gym_Text_221999, MSGBOX_DEFAULT
|
||||
setflag FLAG_DEFEATED_MOSSDEEP_GYM
|
||||
setflag FLAG_BADGE07_GET
|
||||
@@ -89,7 +89,7 @@ MossdeepCity_Gym_EventScript_2208D1:: @ 82208D1
|
||||
MossdeepCity_Gym_EventScript_220937:: @ 8220937
|
||||
giveitem_std ITEM_TM04
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MossdeepCity_Gym_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
msgbox MossdeepCity_Gym_Text_221A40, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM04
|
||||
release
|
||||
@@ -98,7 +98,7 @@ MossdeepCity_Gym_EventScript_220937:: @ 8220937
|
||||
MossdeepCity_Gym_EventScript_22095B:: @ 822095B
|
||||
giveitem_std ITEM_TM04
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MossdeepCity_Gym_EventScript_27205E
|
||||
goto_if_eq Common_EventScript_BagIsFull
|
||||
msgbox MossdeepCity_Gym_Text_221A40, MSGBOX_DEFAULT
|
||||
setflag FLAG_RECEIVED_TM04
|
||||
return
|
||||
|
||||
@@ -120,7 +120,7 @@ MossdeepCity_SpaceCenter_1F_EventScript_22308E:: @ 822308E
|
||||
msgbox MossdeepCity_SpaceCenter_1F_Text_223540, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_SUN_STONE
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_SUN_STONE_MOSSDEEP
|
||||
msgbox MossdeepCity_SpaceCenter_1F_Text_2235A6, MSGBOX_DEFAULT
|
||||
release
|
||||
@@ -136,7 +136,7 @@ MossdeepCity_SpaceCenter_1F_EventScript_2230DA:: @ 82230DA
|
||||
msgbox MossdeepCity_SpaceCenter_1F_Text_2235F0, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_SUN_STONE
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MossdeepCity_SpaceCenter_1F_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_SUN_STONE_MOSSDEEP
|
||||
msgbox MossdeepCity_SpaceCenter_1F_Text_223664, MSGBOX_DEFAULT
|
||||
applymovement VAR_LAST_TALKED, MossdeepCity_SpaceCenter_1F_Movement_2725A8
|
||||
|
||||
@@ -99,7 +99,7 @@ MossdeepCity_StevensHouse_EventScript_222895:: @ 8222895
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MossdeepCity_StevensHouse_EventScript_222901
|
||||
call MossdeepCity_StevensHouse_EventScript_27378B
|
||||
call MossdeepCity_StevensHouse_EventScript_2723DD
|
||||
call Common_EventScript_NameReceivedPokemon
|
||||
goto MossdeepCity_StevensHouse_EventScript_222901
|
||||
end
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ MtChimney_EventScript_22EEF3:: @ 822EEF3
|
||||
end
|
||||
|
||||
MtChimney_EventScript_22EF51:: @ 822EF51
|
||||
msgbox gUnknown_08272AD0, MSGBOX_DEFAULT
|
||||
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
|
||||
hidemoneybox
|
||||
nop
|
||||
nop
|
||||
|
||||
@@ -8,7 +8,7 @@ MtPyre_1F_EventScript_230F3F:: @ 8230F3F
|
||||
msgbox MtPyre_1F_Text_230F8A, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_CLEANSE_TAG
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq MtPyre_1F_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_CLEANSE_TAG
|
||||
release
|
||||
end
|
||||
|
||||
@@ -166,7 +166,7 @@
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "OldaleTown_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -174,7 +174,7 @@
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "OldaleTown_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -182,7 +182,7 @@
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "OldaleTown_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -190,7 +190,7 @@
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "OldaleTown_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,7 @@ OldaleTown_MapScripts:: @ 81E8EA2
|
||||
.byte 0
|
||||
|
||||
OldaleTown_MapScript1_1E8EA8: @ 81E8EA8
|
||||
call OldaleTown_EventScript_271ED7
|
||||
call Common_EventScript_SetupRivalGender
|
||||
setflag FLAG_VISITED_OLDALE_TOWN
|
||||
call_if_unset FLAG_ADVENTURE_STARTED, OldaleTown_EventScript_1E8ED2
|
||||
call_if_unset FLAG_RECEIVED_POTION_OLDALE, OldaleTown_EventScript_1E8EDE
|
||||
@@ -85,7 +85,7 @@ OldaleTown_EventScript_1E8FB9:: @ 81E8FB9
|
||||
end
|
||||
|
||||
OldaleTown_EventScript_1E8FC3:: @ 81E8FC3
|
||||
msgbox gUnknown_08272AD0, MSGBOX_DEFAULT
|
||||
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
|
||||
fadedefaultbgm
|
||||
release
|
||||
end
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
"y": 15,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "PacifidlogTown_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -133,7 +133,7 @@
|
||||
"y": 15,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "PacifidlogTown_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -43,7 +43,7 @@ PacifidlogTown_House2_EventScript_203816:: @ 8203816
|
||||
msgbox PacifidlogTown_House2_Text_20396D, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM27
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq PacifidlogTown_House2_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
|
||||
special SetPacifidlogTMReceivedDay
|
||||
msgbox PacifidlogTown_House2_Text_203A85, MSGBOX_DEFAULT
|
||||
@@ -59,7 +59,7 @@ PacifidlogTown_House2_EventScript_20384F:: @ 820384F
|
||||
msgbox PacifidlogTown_House2_Text_203A2F, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM21
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq PacifidlogTown_House2_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
|
||||
special SetPacifidlogTMReceivedDay
|
||||
msgbox PacifidlogTown_House2_Text_203A85, MSGBOX_DEFAULT
|
||||
|
||||
@@ -276,7 +276,7 @@
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "PetalburgCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -284,7 +284,7 @@
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "PetalburgCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -300,7 +300,7 @@
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "PetalburgCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -308,7 +308,7 @@
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "PetalburgCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
|
||||
@@ -403,7 +403,7 @@ PetalburgCity_Gym_EventScript_204E17:: @ 8204E17
|
||||
PetalburgCity_Gym_EventScript_204E1D:: @ 8204E1D
|
||||
giveitem_std ITEM_ENIGMA_BERRY
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq PetalburgCity_Gym_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setvar VAR_ENIGMA_BERRY_AVAILABLE, 0
|
||||
release
|
||||
end
|
||||
@@ -413,7 +413,7 @@ PetalburgCity_Gym_EventScript_204E3B:: @ 8204E3B
|
||||
trainerbattle_no_intro TRAINER_NORMAN_1, PetalburgCity_Gym_Text_206107
|
||||
message PetalburgCity_Gym_Text_206162
|
||||
waitmessage
|
||||
call PetalburgCity_Gym_EventScript_27207E
|
||||
call Common_EventScript_PlayGymBadgeFanfare
|
||||
msgbox PetalburgCity_Gym_Text_20618A, MSGBOX_DEFAULT
|
||||
setflag FLAG_DEFEATED_PETALBURG_GYM
|
||||
setvar VAR_0x4085, 7
|
||||
@@ -444,7 +444,7 @@ PetalburgCity_Gym_EventScript_204E3B:: @ 8204E3B
|
||||
PetalburgCity_Gym_EventScript_204ED2:: @ 8204ED2
|
||||
giveitem_std ITEM_TM42
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq PetalburgCity_Gym_EventScript_27205E
|
||||
goto_if_eq Common_EventScript_BagIsFull
|
||||
setflag FLAG_RECEIVED_TM42
|
||||
msgbox PetalburgCity_Gym_Text_206254, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
@@ -253,7 +253,7 @@ PetalburgWoods_EventScript_22E222:: @ 822E222
|
||||
msgbox PetalburgWoods_Text_22EAFE, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_MIRACLE_SEED
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq PetalburgWoods_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_MIRACLE_SEED
|
||||
release
|
||||
end
|
||||
|
||||
@@ -4,7 +4,7 @@ Route103_MapScripts:: @ 81EC38E
|
||||
.byte 0
|
||||
|
||||
Route103_MapScript1_1EC399: @ 81EC399
|
||||
call Route103_EventScript_271ED7
|
||||
call Common_EventScript_SetupRivalGender
|
||||
call Route103_EventScript_2720AD
|
||||
end
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ Route104_EventScript_1ECC47:: @ 81ECC47
|
||||
end
|
||||
|
||||
Route104_MapScript1_1ECC4E: @ 81ECC4E
|
||||
call Route104_EventScript_271ED7
|
||||
call Common_EventScript_SetupRivalGender
|
||||
call Route104_EventScript_1ECC78
|
||||
call Route104_EventScript_1ECC5E
|
||||
end
|
||||
@@ -270,7 +270,7 @@ Route104_EventScript_1ECF8C:: @ 81ECF8C
|
||||
msgbox Route104_Text_2A6D86, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_CHESTO_BERRY
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route104_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104
|
||||
msgbox Route104_Text_2A6E32, MSGBOX_DEFAULT
|
||||
release
|
||||
@@ -288,7 +288,7 @@ Route104_EventScript_1ECFCD:: @ 81ECFCD
|
||||
msgbox Route104_Text_1ED96A, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_WHITE_HERB
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route104_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_WHITE_HERB
|
||||
release
|
||||
end
|
||||
@@ -341,7 +341,7 @@ Route104_EventScript_1ED057:: @ 81ED057
|
||||
msgbox Route104_Text_1ED838, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM09
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route104_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM09
|
||||
release
|
||||
end
|
||||
|
||||
@@ -91,7 +91,7 @@ Route104_PrettyPetalFlowerShop_EventScript_22A442:: @ 822A442
|
||||
addvar VAR_RESULT, 133
|
||||
giveitem_std VAR_RESULT
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route104_PrettyPetalFlowerShop_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_DAILY_FLOWER_SHOP_RECEIVED_BERRY
|
||||
msgbox Route104_PrettyPetalFlowerShop_Text_2A7AF3, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
@@ -332,7 +332,7 @@ Route109_EventScript_1EE9B5:: @ 81EE9B5
|
||||
msgbox Route109_Text_1EEFDE, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_SOFT_SAND
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route109_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, Route109_Movement_2725A2
|
||||
waitmovement 0
|
||||
|
||||
@@ -75,7 +75,7 @@ Route109_SeashoreHouse_EventScript_2694C8:: @ 82694C8
|
||||
end
|
||||
|
||||
Route109_SeashoreHouse_EventScript_2694D5:: @ 82694D5
|
||||
msgbox gUnknown_08272AD0, MSGBOX_DEFAULT
|
||||
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
|
||||
hidemoneybox
|
||||
nop
|
||||
nop
|
||||
|
||||
@@ -9,8 +9,8 @@ Route110_MapScript1_1EF279: @ 81EF279
|
||||
end
|
||||
|
||||
Route110_MapScript1_1EF27D: @ 81EF27D
|
||||
call Route110_EventScript_271ED7
|
||||
call Route110_EventScript_271EFB
|
||||
call Common_EventScript_SetupRivalGender
|
||||
call Common_EventScript_SetupRivalOnBikeGender
|
||||
compare VAR_CYCLING_CHALLENGE_STATE, 1
|
||||
call_if_eq Route110_EventScript_1EF293
|
||||
end
|
||||
|
||||
@@ -200,13 +200,13 @@ Route110_TrickHouseEnd_EventScript_26AFCF:: @ 826AFCF
|
||||
return
|
||||
|
||||
Route110_TrickHouseEnd_EventScript_26AFEF:: @ 826AFEF
|
||||
call Route110_TrickHouseEnd_EventScript_27205E
|
||||
call Common_EventScript_BagIsFull
|
||||
msgbox Route110_TrickHouseEnd_Text_26B760, MSGBOX_DEFAULT
|
||||
setvar VAR_0x40C1, 1
|
||||
return
|
||||
|
||||
Route110_TrickHouseEnd_EventScript_26B002:: @ 826B002
|
||||
call Route110_TrickHouseEnd_EventScript_272071
|
||||
call Common_EventScript_NoRoomLeftForAnother
|
||||
msgbox Route110_TrickHouseEnd_Text_26B615, MSGBOX_DEFAULT
|
||||
setvar VAR_0x40C1, 1
|
||||
return
|
||||
|
||||
@@ -364,7 +364,7 @@ Route110_TrickHouseEntrance_EventScript_269EEF:: @ 8269EEF
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_26A023
|
||||
compare VAR_RESULT, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_27205E
|
||||
call_if_eq Common_EventScript_BagIsFull
|
||||
msgbox Route110_TrickHouseEntrance_Text_26AB00, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
@@ -374,7 +374,7 @@ Route110_TrickHouseEntrance_EventScript_269F1B:: @ 8269F1B
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_26A023
|
||||
compare VAR_RESULT, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_27205E
|
||||
call_if_eq Common_EventScript_BagIsFull
|
||||
msgbox Route110_TrickHouseEntrance_Text_26AB00, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
@@ -384,7 +384,7 @@ Route110_TrickHouseEntrance_EventScript_269F47:: @ 8269F47
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_26A023
|
||||
compare VAR_RESULT, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_27205E
|
||||
call_if_eq Common_EventScript_BagIsFull
|
||||
msgbox Route110_TrickHouseEntrance_Text_26AB00, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
@@ -394,7 +394,7 @@ Route110_TrickHouseEntrance_EventScript_269F73:: @ 8269F73
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_26A023
|
||||
compare VAR_RESULT, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_27205E
|
||||
call_if_eq Common_EventScript_BagIsFull
|
||||
msgbox Route110_TrickHouseEntrance_Text_26AB00, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
@@ -404,7 +404,7 @@ Route110_TrickHouseEntrance_EventScript_269F9F:: @ 8269F9F
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_26A023
|
||||
compare VAR_RESULT, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_27205E
|
||||
call_if_eq Common_EventScript_BagIsFull
|
||||
msgbox Route110_TrickHouseEntrance_Text_26AB00, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
@@ -414,7 +414,7 @@ Route110_TrickHouseEntrance_EventScript_269FCB:: @ 8269FCB
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_26A023
|
||||
compare VAR_RESULT, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_27205E
|
||||
call_if_eq Common_EventScript_BagIsFull
|
||||
msgbox Route110_TrickHouseEntrance_Text_26AB00, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
@@ -424,7 +424,7 @@ Route110_TrickHouseEntrance_EventScript_269FF7:: @ 8269FF7
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_26A023
|
||||
compare VAR_RESULT, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_27205E
|
||||
call_if_eq Common_EventScript_BagIsFull
|
||||
msgbox Route110_TrickHouseEntrance_Text_26AB00, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
@@ -445,7 +445,7 @@ Route110_TrickHouseEntrance_EventScript_26A039:: @ 826A039
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route110_TrickHouseEntrance_EventScript_26A09A
|
||||
compare VAR_RESULT, 0
|
||||
call_if_eq Route110_TrickHouseEntrance_EventScript_272071
|
||||
call_if_eq Common_EventScript_NoRoomLeftForAnother
|
||||
msgbox Route110_TrickHouseEntrance_Text_26ABBD, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -164,7 +164,7 @@ Route111_EventScript_1F0EB9:: @ 81F0EB9
|
||||
msgbox Route111_Text_2A6EBD, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_RAZZ_BERRY
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route111_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_DAILY_ROUTE_111_RECEIVED_BERRY
|
||||
special GetPlayerBigGuyGirlString
|
||||
msgbox Route111_Text_2A6F3D, MSGBOX_DEFAULT
|
||||
|
||||
@@ -19,7 +19,7 @@ Route111_OldLadysRestStop_EventScript_22A920:: @ 822A920
|
||||
Route111_OldLadysRestStop_EventScript_22A941:: @ 822A941
|
||||
msgbox Route111_OldLadysRestStop_Text_22A9EC, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call Route111_OldLadysRestStop_EventScript_272083
|
||||
call Common_EventScript_OutOfCenterPartyHeal
|
||||
msgbox Route111_OldLadysRestStop_Text_22AA16, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route111_OldLadysRestStop_EventScript_22A941
|
||||
|
||||
@@ -17,7 +17,7 @@ Route111_WinstrateFamilysHouse_EventScript_22A4A2:: @ 822A4A2
|
||||
msgbox Route111_WinstrateFamilysHouse_Text_22A5F4, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_MACHO_BRACE
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route111_WinstrateFamilysHouse_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_MACHO_BRACE
|
||||
goto Route111_WinstrateFamilysHouse_EventScript_22A52C
|
||||
end
|
||||
|
||||
@@ -223,13 +223,13 @@ Route113_GlassWorkshop_EventScript_26F05F:: @ 826F05F
|
||||
return
|
||||
|
||||
Route113_GlassWorkshop_EventScript_26F072:: @ 826F072
|
||||
call Route113_GlassWorkshop_EventScript_27205E
|
||||
call Common_EventScript_BagIsFull
|
||||
msgbox Route113_GlassWorkshop_Text_26F6B7, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route113_GlassWorkshop_EventScript_26F081:: @ 826F081
|
||||
call Route113_GlassWorkshop_EventScript_272071
|
||||
call Common_EventScript_NoRoomLeftForAnother
|
||||
msgbox Route113_GlassWorkshop_Text_26F715, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
@@ -35,7 +35,7 @@ Route114_EventScript_1F2582:: @ 81F2582
|
||||
addvar VAR_RESULT, 133
|
||||
giveitem_std VAR_RESULT
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route114_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_DAILY_ROUTE_114_RECEIVED_BERRY
|
||||
msgbox Route114_Text_2A7034, MSGBOX_DEFAULT
|
||||
release
|
||||
@@ -53,7 +53,7 @@ Route114_EventScript_1F25D1:: @ 81F25D1
|
||||
msgbox Route114_Text_1F2809, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM05
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route114_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM05
|
||||
msgbox Route114_Text_1F2872, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
@@ -13,7 +13,7 @@ Route114_FossilManiacsHouse_EventScript_22AD3A:: @ 822AD3A
|
||||
msgbox Route114_FossilManiacsHouse_Text_22AD85, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM28
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route114_FossilManiacsHouse_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM28
|
||||
release
|
||||
end
|
||||
|
||||
@@ -15,8 +15,8 @@ Route119_EventScript_1F4439:: @ 81F4439
|
||||
return
|
||||
|
||||
Route119_MapScript1_1F444D: @ 81F444D
|
||||
call Route119_EventScript_271ED7
|
||||
call Route119_EventScript_271EFB
|
||||
call Common_EventScript_SetupRivalGender
|
||||
call Common_EventScript_SetupRivalOnBikeGender
|
||||
compare VAR_WEATHER_INSTITUTE_STATE, 1
|
||||
call_if_eq Route119_EventScript_1F4466
|
||||
special SetRoute119Weather
|
||||
|
||||
@@ -57,7 +57,7 @@ Route119_WeatherInstitute_1F_EventScript_26FB18:: @ 826FB18
|
||||
lockall
|
||||
msgbox Route119_WeatherInstitute_1F_Text_26FEFC, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call Route119_WeatherInstitute_1F_EventScript_272083
|
||||
call Common_EventScript_OutOfCenterPartyHeal
|
||||
releaseall
|
||||
end
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ Route119_WeatherInstitute_2F_EventScript_270085:: @ 8270085
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route119_WeatherInstitute_2F_EventScript_2700EA
|
||||
call Route119_WeatherInstitute_2F_EventScript_27378B
|
||||
call Route119_WeatherInstitute_2F_EventScript_2723DD
|
||||
call Common_EventScript_NameReceivedPokemon
|
||||
goto Route119_WeatherInstitute_2F_EventScript_2700EA
|
||||
end
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ Route120_EventScript_1F55F6:: @ 81F55F6
|
||||
Route120_EventScript_1F5601:: @ 81F5601
|
||||
giveitem_std VAR_0x8004
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route120_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_DAILY_ROUTE_120_RECEIVED_BERRY
|
||||
msgbox Route120_Text_2A71D5, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
@@ -17,7 +17,7 @@ Route123_EventScript_1F6151:: @ 81F6151
|
||||
msgbox Route123_Text_1F645D, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM19
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route123_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM19
|
||||
msgbox Route123_Text_1F64CF, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
@@ -17,7 +17,7 @@ Route123_BerryMastersHouse_EventScript_26F845:: @ 826F845
|
||||
addvar VAR_RESULT, 133
|
||||
giveitem_std VAR_RESULT
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route123_BerryMastersHouse_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_DAILY_BERRY_MASTER_RECEIVED_BERRY
|
||||
msgbox Route123_BerryMastersHouse_Text_2A7428, MSGBOX_DEFAULT
|
||||
random 10
|
||||
@@ -25,7 +25,7 @@ Route123_BerryMastersHouse_EventScript_26F845:: @ 826F845
|
||||
addvar VAR_RESULT, 133
|
||||
giveitem_std VAR_RESULT
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route123_BerryMastersHouse_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
msgbox Route123_BerryMastersHouse_Text_2A7445, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
@@ -78,7 +78,7 @@ Route123_BerryMastersHouse_EventScript_26F94C:: @ 826F94C
|
||||
addvar VAR_RESULT, 133
|
||||
giveitem_std VAR_RESULT
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route123_BerryMastersHouse_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
goto Route123_BerryMastersHouse_EventScript_26FA79
|
||||
release
|
||||
end
|
||||
@@ -88,7 +88,7 @@ Route123_BerryMastersHouse_EventScript_26F97A:: @ 826F97A
|
||||
msgbox Route123_BerryMastersHouse_Text_2A7583, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_SPELON_BERRY
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route123_BerryMastersHouse_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_SPELON_BERRY
|
||||
goto Route123_BerryMastersHouse_EventScript_26FA79
|
||||
end
|
||||
@@ -98,7 +98,7 @@ Route123_BerryMastersHouse_EventScript_26F9AB:: @ 826F9AB
|
||||
msgbox Route123_BerryMastersHouse_Text_2A7583, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_PAMTRE_BERRY
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route123_BerryMastersHouse_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_PAMTRE_BERRY
|
||||
goto Route123_BerryMastersHouse_EventScript_26FA79
|
||||
end
|
||||
@@ -108,7 +108,7 @@ Route123_BerryMastersHouse_EventScript_26F9DC:: @ 826F9DC
|
||||
msgbox Route123_BerryMastersHouse_Text_2A7583, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_WATMEL_BERRY
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route123_BerryMastersHouse_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_WATMEL_BERRY
|
||||
goto Route123_BerryMastersHouse_EventScript_26FA79
|
||||
end
|
||||
@@ -118,7 +118,7 @@ Route123_BerryMastersHouse_EventScript_26FA0D:: @ 826FA0D
|
||||
msgbox Route123_BerryMastersHouse_Text_2A7583, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_DURIN_BERRY
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route123_BerryMastersHouse_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_DURIN_BERRY
|
||||
goto Route123_BerryMastersHouse_EventScript_26FA79
|
||||
end
|
||||
@@ -128,7 +128,7 @@ Route123_BerryMastersHouse_EventScript_26FA3E:: @ 826FA3E
|
||||
msgbox Route123_BerryMastersHouse_Text_2A7583, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_BELUE_BERRY
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Route123_BerryMastersHouse_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_BELUE_BERRY
|
||||
goto Route123_BerryMastersHouse_EventScript_26FA79
|
||||
end
|
||||
|
||||
@@ -3,7 +3,7 @@ Route124_MapScripts:: @ 81F656C
|
||||
.byte 0
|
||||
|
||||
Route124_MapScript1_1F6572: @ 81F6572
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Route124_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
end
|
||||
|
||||
Route124_EventScript_1F657C:: @ 81F657C
|
||||
|
||||
@@ -5,7 +5,7 @@ Route125_MapScripts:: @ 81F6748
|
||||
.byte 0
|
||||
|
||||
Route125_MapScript1_1F6758: @ 81F6758
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Route125_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
compare VAR_0x4039, 1
|
||||
call_if_eq Route125_EventScript_273D13
|
||||
compare VAR_0x4037, 11
|
||||
|
||||
@@ -3,7 +3,7 @@ Route126_MapScripts:: @ 81F68C6
|
||||
.byte 0
|
||||
|
||||
Route126_MapScript1_1F68CC: @ 81F68CC
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Route126_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
end
|
||||
|
||||
Route126_EventScript_1F68D6:: @ 81F68D6
|
||||
|
||||
@@ -5,7 +5,7 @@ Route127_MapScripts:: @ 81F69D9
|
||||
.byte 0
|
||||
|
||||
Route127_MapScript1_1F69E9: @ 81F69E9
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Route127_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
compare VAR_0x4039, 1
|
||||
call_if_eq Route127_EventScript_273D13
|
||||
compare VAR_0x4037, 13
|
||||
|
||||
@@ -4,7 +4,7 @@ Route128_MapScripts:: @ 81F6B38
|
||||
.byte 0
|
||||
|
||||
Route128_MapScript1_1F6B43: @ 81F6B43
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Route128_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
end
|
||||
|
||||
Route128_MapScript2_1F6B4D: @ 81F6B4D
|
||||
|
||||
@@ -23,7 +23,7 @@ Route129_MapScript1_1F72AB: @ 81F72AB
|
||||
end
|
||||
|
||||
Route129_EventScript_1F72D8:: @ 81F72D8
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Route129_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
return
|
||||
|
||||
Route129_MapScript2_1F72E2: @ 81F72E2
|
||||
|
||||
@@ -31,7 +31,7 @@ Route130_EventScript_1F73B1:: @ 81F73B1
|
||||
end
|
||||
|
||||
Route130_EventScript_1F73B5:: @ 81F73B5
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Route130_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
return
|
||||
|
||||
Route130_EventScript_1F73BF:: @ 81F73BF
|
||||
|
||||
@@ -13,7 +13,7 @@ Route131_EventScript_1F741B:: @ 81F741B
|
||||
return
|
||||
|
||||
Route131_EventScript_1F741F:: @ 81F741F
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Route131_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
return
|
||||
|
||||
Route131_EventScript_1F7429:: @ 81F7429
|
||||
|
||||
@@ -539,7 +539,7 @@
|
||||
"y": 45,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "RustboroCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -547,7 +547,7 @@
|
||||
"y": 38,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "RustboroCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -563,7 +563,7 @@
|
||||
"y": 45,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "RustboroCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -571,7 +571,7 @@
|
||||
"y": 38,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "RustboroCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
|
||||
@@ -5,7 +5,7 @@ RustboroCity_MapScripts:: @ 81E06BD
|
||||
|
||||
RustboroCity_MapScript1_1E06C8: @ 81E06C8
|
||||
setflag FLAG_VISITED_RUSTBORO_CITY
|
||||
call RustboroCity_EventScript_271ED7
|
||||
call Common_EventScript_SetupRivalGender
|
||||
compare VAR_0x405A, 6
|
||||
call_if_eq RustboroCity_EventScript_1E0707
|
||||
getplayerxy VAR_TEMP_0, VAR_TEMP_1
|
||||
|
||||
@@ -171,7 +171,7 @@ RustboroCity_DevonCorp_2F_EventScript_211A6E:: @ 8211A6E
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211AD7
|
||||
call RustboroCity_DevonCorp_2F_EventScript_27378B
|
||||
call RustboroCity_DevonCorp_2F_EventScript_2723DD
|
||||
call Common_EventScript_NameReceivedPokemon
|
||||
goto RustboroCity_DevonCorp_2F_EventScript_211AD7
|
||||
end
|
||||
|
||||
@@ -220,7 +220,7 @@ RustboroCity_DevonCorp_2F_EventScript_211B11:: @ 8211B11
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_DevonCorp_2F_EventScript_211B7A
|
||||
call RustboroCity_DevonCorp_2F_EventScript_27378B
|
||||
call RustboroCity_DevonCorp_2F_EventScript_2723DD
|
||||
call Common_EventScript_NameReceivedPokemon
|
||||
goto RustboroCity_DevonCorp_2F_EventScript_211B7A
|
||||
end
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ RustboroCity_DevonCorp_3F_EventScript_21246E:: @ 821246E
|
||||
setflag FLAG_HIDE_RUSTBORO_CITY_POKEMON_SCHOOL_SCOTT
|
||||
msgbox RustboroCity_DevonCorp_3F_Text_212837, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call RustboroCity_DevonCorp_3F_EventScript_272083
|
||||
call Common_EventScript_OutOfCenterPartyHeal
|
||||
msgbox RustboroCity_DevonCorp_3F_Text_2129D2, MSGBOX_DEFAULT
|
||||
setflag FLAG_HIDE_ROUTE_116_TUNNELER
|
||||
clearflag FLAG_HIDE_RUSTURF_TUNNEL_LOVER_MAN
|
||||
@@ -163,7 +163,7 @@ RustboroCity_DevonCorp_3F_EventScript_212595:: @ 8212595
|
||||
msgbox RustboroCity_DevonCorp_3F_Text_212A29, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_EXP_SHARE
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_DevonCorp_3F_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_EXP_SHARE
|
||||
msgbox RustboroCity_DevonCorp_3F_Text_212A9E, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
|
||||
@@ -12,7 +12,7 @@ RustboroCity_Flat2_2F_EventScript_215FE1:: @ 8215FE1
|
||||
msgbox RustboroCity_Flat2_2F_Text_21605A, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_PREMIER_BALL
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_Flat2_2F_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_PREMIER_BALL_RUSTBORO
|
||||
release
|
||||
end
|
||||
|
||||
@@ -14,7 +14,7 @@ RustboroCity_Gym_EventScript_212F31:: @ 8212F31
|
||||
RustboroCity_Gym_EventScript_212F66:: @ 8212F66
|
||||
message RustboroCity_Gym_Text_2137EC
|
||||
waitmessage
|
||||
call RustboroCity_Gym_EventScript_27207E
|
||||
call Common_EventScript_PlayGymBadgeFanfare
|
||||
msgbox RustboroCity_Gym_Text_213816, MSGBOX_DEFAULT
|
||||
setflag FLAG_DEFEATED_RUSTBORO_GYM
|
||||
setflag FLAG_BADGE01_GET
|
||||
@@ -30,7 +30,7 @@ RustboroCity_Gym_EventScript_212F66:: @ 8212F66
|
||||
RustboroCity_Gym_EventScript_212FA4:: @ 8212FA4
|
||||
giveitem_std ITEM_TM39
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_Gym_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM39
|
||||
msgbox RustboroCity_Gym_Text_2138B1, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
@@ -85,7 +85,7 @@ RustboroCity_PokemonSchool_EventScript_213F95:: @ 8213F95
|
||||
msgbox RustboroCity_PokemonSchool_Text_214433, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_QUICK_CLAW
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq RustboroCity_PokemonSchool_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, RustboroCity_PokemonSchool_Movement_2725AA
|
||||
waitmovement 0
|
||||
|
||||
@@ -8,7 +8,7 @@ SSTidalRooms_EventScript_23C9F2:: @ 823C9F2
|
||||
msgbox SSTidalRooms_Text_23D098, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM49
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SSTidalRooms_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM49
|
||||
msgbox SSTidalRooms_Text_23D145, MSGBOX_DEFAULT
|
||||
release
|
||||
@@ -23,7 +23,7 @@ SSTidalRooms_EventScript_23CA33:: @ 823CA33
|
||||
lockall
|
||||
msgbox SSTidalRooms_Text_23CAF2, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call SSTidalRooms_EventScript_272083
|
||||
call Common_EventScript_OutOfCenterPartyHeal
|
||||
call SSTidalRooms_EventScript_23C0A7
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -39,7 +39,7 @@ ShoalCave_LowTideEntranceRoom_EventScript_236DD9:: @ 8236DD9
|
||||
takeitem ITEM_SHOAL_SHELL, 4
|
||||
giveitem_std ITEM_SHELL_BELL
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq ShoalCave_LowTideEntranceRoom_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
msgbox ShoalCave_LowTideEntranceRoom_Text_2A8012, MSGBOX_DEFAULT
|
||||
setflag FLAG_TEMP_2
|
||||
release
|
||||
|
||||
@@ -64,7 +64,7 @@ ShoalCave_LowTideInnerRoom_EventScript_236FBA:: @ 8236FBA
|
||||
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_1, ShoalCave_LowTideInnerRoom_EventScript_236FEC
|
||||
giveitem_std ITEM_SHOAL_SHELL
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setmetatile 41, 20, 859, 0
|
||||
special DrawWholeMapView
|
||||
setflag FLAG_RECEIVED_SHOAL_SHELL_1
|
||||
@@ -81,7 +81,7 @@ ShoalCave_LowTideInnerRoom_EventScript_236FF6:: @ 8236FF6
|
||||
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_2, ShoalCave_LowTideInnerRoom_EventScript_236FEC
|
||||
giveitem_std ITEM_SHOAL_SHELL
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setmetatile 41, 10, 859, 0
|
||||
special DrawWholeMapView
|
||||
setflag FLAG_RECEIVED_SHOAL_SHELL_2
|
||||
@@ -93,7 +93,7 @@ ShoalCave_LowTideInnerRoom_EventScript_237028:: @ 8237028
|
||||
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_3, ShoalCave_LowTideInnerRoom_EventScript_236FEC
|
||||
giveitem_std ITEM_SHOAL_SHELL
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setmetatile 6, 9, 859, 0
|
||||
special DrawWholeMapView
|
||||
setflag FLAG_RECEIVED_SHOAL_SHELL_3
|
||||
@@ -105,7 +105,7 @@ ShoalCave_LowTideInnerRoom_EventScript_23705A:: @ 823705A
|
||||
goto_if_set FLAG_RECEIVED_SHOAL_SHELL_4, ShoalCave_LowTideInnerRoom_EventScript_236FEC
|
||||
giveitem_std ITEM_SHOAL_SHELL
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setmetatile 16, 13, 859, 0
|
||||
special DrawWholeMapView
|
||||
setflag FLAG_RECEIVED_SHOAL_SHELL_4
|
||||
@@ -117,7 +117,7 @@ ShoalCave_LowTideInnerRoom_EventScript_23708C:: @ 823708C
|
||||
goto_if_set FLAG_RECEIVED_SHOAL_SALT_1, ShoalCave_LowTideInnerRoom_EventScript_2370BE
|
||||
giveitem_std ITEM_SHOAL_SALT
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setmetatile 31, 8, 858, 0
|
||||
special DrawWholeMapView
|
||||
setflag FLAG_RECEIVED_SHOAL_SALT_1
|
||||
@@ -134,7 +134,7 @@ ShoalCave_LowTideInnerRoom_EventScript_2370C8:: @ 82370C8
|
||||
goto_if_set FLAG_RECEIVED_SHOAL_SALT_2, ShoalCave_LowTideInnerRoom_EventScript_2370BE
|
||||
giveitem_std ITEM_SHOAL_SALT
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq ShoalCave_LowTideInnerRoom_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setmetatile 14, 26, 858, 0
|
||||
special DrawWholeMapView
|
||||
setflag FLAG_RECEIVED_SHOAL_SALT_2
|
||||
|
||||
@@ -19,7 +19,7 @@ ShoalCave_LowTideLowerRoom_EventScript_237176:: @ 8237176
|
||||
goto_if_set FLAG_RECEIVED_SHOAL_SALT_4, ShoalCave_LowTideLowerRoom_EventScript_2371A8
|
||||
giveitem_std ITEM_SHOAL_SALT
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq ShoalCave_LowTideLowerRoom_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setmetatile 18, 2, 858, 0
|
||||
special DrawWholeMapView
|
||||
setflag FLAG_RECEIVED_SHOAL_SALT_4
|
||||
@@ -38,7 +38,7 @@ ShoalCave_LowTideLowerRoom_EventScript_2371B2:: @ 82371B2
|
||||
msgbox ShoalCave_LowTideLowerRoom_Text_2371EB, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_FOCUS_BAND
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq ShoalCave_LowTideLowerRoom_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_FOCUS_BAND
|
||||
release
|
||||
end
|
||||
|
||||
@@ -19,7 +19,7 @@ ShoalCave_LowTideStairsRoom_EventScript_23711A:: @ 823711A
|
||||
goto_if_set FLAG_RECEIVED_SHOAL_SALT_3, ShoalCave_LowTideStairsRoom_EventScript_23714C
|
||||
giveitem_std ITEM_SHOAL_SALT
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq ShoalCave_LowTideStairsRoom_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setmetatile 11, 11, 858, 0
|
||||
special DrawWholeMapView
|
||||
setflag FLAG_RECEIVED_SHOAL_SALT_3
|
||||
|
||||
@@ -16,7 +16,7 @@ SkyPillar_Outside_EventScript_2392CF:: @ 82392CF
|
||||
return
|
||||
|
||||
SkyPillar_Outside_EventScript_2392D3:: @ 82392D3
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, SkyPillar_Outside_EventScript_27207A
|
||||
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
|
||||
return
|
||||
|
||||
SkyPillar_Outside_MapScript1_2392DD: @ 82392DD
|
||||
|
||||
@@ -591,7 +591,7 @@
|
||||
"y": 19,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "SlateportCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -599,7 +599,7 @@
|
||||
"y": 19,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "SlateportCity_EventScript_271E73"
|
||||
"script": "Common_EventScript_ShowPokemonCenterSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -607,7 +607,7 @@
|
||||
"y": 26,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "SlateportCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -623,7 +623,7 @@
|
||||
"y": 26,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "SlateportCity_EventScript_271E6A"
|
||||
"script": "Common_EventScript_ShowPokemartSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
|
||||
@@ -165,7 +165,7 @@ SlateportCity_BattleTentLobby_EventScript_208950:: @ 8208950
|
||||
special CallFrontierUtilFunc
|
||||
closemessage
|
||||
delay 2
|
||||
call SlateportCity_BattleTentLobby_EventScript_27134F
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SlateportCity_BattleTentLobby_EventScript_208A14
|
||||
@@ -249,7 +249,7 @@ SlateportCity_BattleTentLobby_EventScript_208A3D:: @ 8208A3D
|
||||
msgbox SlateportCity_BattleTentLobby_Text_208B4E, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM41
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SlateportCity_BattleTentLobby_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM41
|
||||
msgbox SlateportCity_BattleTentLobby_Text_208C5C, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
@@ -358,7 +358,7 @@ SlateportCity_Harbor_EventScript_20CD7B:: @ 820CD7B
|
||||
goto_if_eq SlateportCity_Harbor_EventScript_20CE05
|
||||
giveitem_std ITEM_DEEP_SEA_TOOTH
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SlateportCity_Harbor_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
takeitem ITEM_SCANNER, 1
|
||||
msgbox SlateportCity_Harbor_Text_20D94A, MSGBOX_DEFAULT
|
||||
setflag FLAG_EXCHANGED_SCANNER
|
||||
@@ -371,7 +371,7 @@ SlateportCity_Harbor_EventScript_20CDBB:: @ 820CDBB
|
||||
goto_if_eq SlateportCity_Harbor_EventScript_20CE05
|
||||
giveitem_std ITEM_DEEP_SEA_SCALE
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SlateportCity_Harbor_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
takeitem ITEM_SCANNER, 1
|
||||
msgbox SlateportCity_Harbor_Text_20D94A, MSGBOX_DEFAULT
|
||||
setflag FLAG_EXCHANGED_SCANNER
|
||||
|
||||
@@ -57,7 +57,7 @@ SlateportCity_House1_EventScript_209B50:: @ 8209B50
|
||||
|
||||
SlateportCity_House1_EventScript_209B5A:: @ 8209B5A
|
||||
msgbox SlateportCity_House1_Text_209CA4, MSGBOX_DEFAULT
|
||||
call SlateportCity_House1_EventScript_2723DD
|
||||
call Common_EventScript_NameReceivedPokemon
|
||||
specialvar VAR_RESULT, TV_PutNameRaterShowOnTheAirIfNicnkameChanged
|
||||
special TV_CopyNicknameToStringVar1AndEnsureTerminated
|
||||
compare VAR_RESULT, 1
|
||||
|
||||
@@ -218,7 +218,7 @@ SlateportCity_PokemonFanClub_EventScript_20A1A3:: @ 820A1A3
|
||||
msgbox SlateportCity_PokemonFanClub_Text_20AB63, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_SOOTHE_BELL
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SlateportCity_PokemonFanClub_EventScript_272054
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_SOOTHE_BELL
|
||||
release
|
||||
end
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user