2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_NURSE, 1
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_MapScripts::
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, PetalburgCity_PokemonCenter_1F_OnTransition
|
2019-10-12 04:23:05 +02:00
|
|
|
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_OnTransition:
|
2018-08-10 16:45:15 +02:00
|
|
|
setrespawn HEAL_LOCATION_PETALBURG_CITY
|
2019-08-15 05:38:42 +02:00
|
|
|
call Common_EventScript_UpdateBrineyLocation
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_Nurse::
|
2020-06-21 07:56:57 +02:00
|
|
|
setvar VAR_0x800B, LOCALID_NURSE
|
2019-08-15 05:38:42 +02:00
|
|
|
call Common_EventScript_PkmnCenterNurse
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_FatMan::
|
2019-10-20 19:27:23 +02:00
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_PCStorageSystem, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_Youngster::
|
2019-10-20 19:27:23 +02:00
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_OranBerryRegainedHP, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_Woman::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-10-20 19:27:23 +02:00
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_ManyTypesOfPokemon, MSGBOX_DEFAULT
|
2017-12-28 09:09:11 +01:00
|
|
|
specialvar VAR_RESULT, IsStarterInParty
|
2020-06-21 07:56:57 +02:00
|
|
|
compare VAR_RESULT, TRUE
|
2019-10-20 19:27:23 +02:00
|
|
|
goto_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayStarterTypeInfo
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_SayStarterTypeInfo::
|
2018-08-08 10:37:12 +02:00
|
|
|
compare VAR_STARTER_MON, 0
|
2019-10-20 19:27:23 +02:00
|
|
|
call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayTreeckoType
|
2018-08-08 10:37:12 +02:00
|
|
|
compare VAR_STARTER_MON, 1
|
2019-10-20 19:27:23 +02:00
|
|
|
call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayTorchicType
|
2018-08-08 10:37:12 +02:00
|
|
|
compare VAR_STARTER_MON, 2
|
2019-10-20 19:27:23 +02:00
|
|
|
call_if_eq PetalburgCity_PokemonCenter_1F_EventScript_SayMudkipType
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_SayTreeckoType::
|
2019-10-20 19:27:23 +02:00
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_TreeckoIsGrassType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_SayTorchicType::
|
2019-10-20 19:27:23 +02:00
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_TorchicIsFireType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_EventScript_SayMudkipType::
|
2019-10-20 19:27:23 +02:00
|
|
|
msgbox PetalburgCity_PokemonCenter_1F_Text_MudkipIsWaterType, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_Text_PCStorageSystem:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "That PC-based POKéMON Storage\n"
|
|
|
|
.string "System…\p"
|
|
|
|
.string "Whoever made it must be some kind\n"
|
|
|
|
.string "of a scientific wizard!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_Text_OranBerryRegainedHP:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "When my POKéMON ate an\n"
|
|
|
|
.string "ORAN BERRY, it regained HP!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_Text_ManyTypesOfPokemon:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "There are many types of POKéMON.\p"
|
|
|
|
.string "All types have their strengths and\n"
|
|
|
|
.string "weaknesses against other types.\p"
|
|
|
|
.string "Depending on the types of POKéMON,\n"
|
|
|
|
.string "a battle could be easy or hard.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_Text_TreeckoIsGrassType:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "For example, your TREECKO\n"
|
|
|
|
.string "is a GRASS type.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's strong against the WATER and\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "GROUND types.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "But, it's weak against FIRE-type\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "POKéMON.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_Text_TorchicIsFireType:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "For example, your TORCHIC\n"
|
|
|
|
.string "is a FIRE type.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's strong against the GRASS and\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "BUG types.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "But, it's weak against WATER-type\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "POKéMON.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
PetalburgCity_PokemonCenter_1F_Text_MudkipIsWaterType:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "For example, your MUDKIP\n"
|
|
|
|
.string "is a WATER type.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "It's strong against the FIRE type.\p"
|
|
|
|
.string "But, it's weak against GRASS-type\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "and ELECTRIC-type POKéMON.$"
|
|
|
|
|