2022-05-19 19:14:13 +02:00
|
|
|
.set LOCALID_NURSE, 1
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_MapScripts::
|
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, PetalburgCity_PokemonCenter_1F_OnTransition
|
|
|
|
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_OnTransition:
|
|
|
|
setrespawn HEAL_LOCATION_PETALBURG_CITY
|
|
|
|
call Common_EventScript_UpdateBrineyLocation
|
|
|
|
end
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_Nurse::
|
|
|
|
setvar VAR_0x800B, LOCALID_NURSE
|
|
|
|
call Common_EventScript_PkmnCenterNurse
|
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_FatMan::
|
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_PCStorageSystem, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_Youngster::
|
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_OranBerryRegainedHP, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_Woman::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_ManyTypesOfPokemon, MSGBOX_DEFAULT
|
|
|
|
specialvar VAR_RESULT, IsStarterInParty
|
|
|
|
goto_if_eq VAR_RESULT, TRUE, PetalburgCity_PokemonCenter_1F_EventScript_SayStarterTypeInfo
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_SayStarterTypeInfo::
|
|
|
|
call_if_eq VAR_STARTER_MON, 0, PetalburgCity_PokemonCenter_1F_EventScript_SayTreeckoType
|
|
|
|
call_if_eq VAR_STARTER_MON, 1, PetalburgCity_PokemonCenter_1F_EventScript_SayTorchicType
|
|
|
|
call_if_eq VAR_STARTER_MON, 2, PetalburgCity_PokemonCenter_1F_EventScript_SayMudkipType
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_SayTreeckoType::
|
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_TreeckoIsGrassType, MSGBOX_DEFAULT
|
|
|
|
return
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_SayTorchicType::
|
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_TorchicIsFireType, MSGBOX_DEFAULT
|
|
|
|
return
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_SayMudkipType::
|
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_MudkipIsWaterType, MSGBOX_DEFAULT
|
|
|
|
return
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_Text_PCStorageSystem:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "That PC-based Pokémon Storage\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "System…\p"
|
|
|
|
.string "Whoever made it must be some kind\n"
|
|
|
|
.string "of a scientific wizard!$"
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_Text_OranBerryRegainedHP:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "When my Pokémon ate an\n"
|
|
|
|
.string "Oran Berry, it regained HP!$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_Text_ManyTypesOfPokemon:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "There are many types of Pokémon.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "All types have their strengths and\n"
|
|
|
|
.string "weaknesses against other types.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Depending on the types of Pokémon,\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "a battle could be easy or hard.$"
|
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_Text_TreeckoIsGrassType:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "For example, your Treecko\n"
|
|
|
|
.string "is a Grass type.\p"
|
|
|
|
.string "It's strong against the Water and\n"
|
|
|
|
.string "Ground types.\p"
|
|
|
|
.string "But, it's weak against Fire-type\n"
|
|
|
|
.string "Pokémon.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_Text_TorchicIsFireType:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "For example, your Torchic\n"
|
|
|
|
.string "is a Fire type.\p"
|
|
|
|
.string "It's strong against the Grass and\n"
|
|
|
|
.string "Bug types.\p"
|
|
|
|
.string "But, it's weak against Water-type\n"
|
|
|
|
.string "Pokémon.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
PetalburgCity_PokemonCenter_1F_Text_MudkipIsWaterType:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "For example, your Mudkip\n"
|
|
|
|
.string "is a Water type.\p"
|
|
|
|
.string "It's strong against the Fire type.\p"
|
|
|
|
.string "But, it's weak against Grass-type\n"
|
|
|
|
.string "and Electric-type Pokémon.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|