tumbledemerald-legacy/data/maps/RustboroCity_PokemonSchool/scripts.inc

352 lines
12 KiB
PHP
Raw Normal View History

2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_MapScripts::
.byte 0
RustboroCity_PokemonSchool_EventScript_Blackboard::
lockall
msgbox RustboroCity_PokemonSchool_Text_BlackboardListsStatusChanges, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end
RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic::
message RustboroCity_PokemonSchool_Text_ReadWhichTopic
waitmessage
multichoicegrid 8, 1, MULTI_STATUS_INFO, 3, FALSE
switch VAR_RESULT
case 0, RustboroCity_PokemonSchool_EventScript_Poison
case 1, RustboroCity_PokemonSchool_EventScript_Paralysis
case 2, RustboroCity_PokemonSchool_EventScript_Sleep
case 3, RustboroCity_PokemonSchool_EventScript_Burn
case 4, RustboroCity_PokemonSchool_EventScript_Freeze
case 5, RustboroCity_PokemonSchool_EventScript_ExitTopicSelect
case MULTI_B_PRESSED, RustboroCity_PokemonSchool_EventScript_ExitTopicSelect
end
RustboroCity_PokemonSchool_EventScript_Poison::
msgbox RustboroCity_PokemonSchool_Text_ExplainPoison, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end
RustboroCity_PokemonSchool_EventScript_Paralysis::
msgbox RustboroCity_PokemonSchool_Text_ExplainParalysis, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end
RustboroCity_PokemonSchool_EventScript_Sleep::
msgbox RustboroCity_PokemonSchool_Text_ExplainSleep, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end
RustboroCity_PokemonSchool_EventScript_Burn::
msgbox RustboroCity_PokemonSchool_Text_ExplainBurn, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end
RustboroCity_PokemonSchool_EventScript_Freeze::
msgbox RustboroCity_PokemonSchool_Text_ExplainFreeze, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_ChooseBlackboardTopic
end
RustboroCity_PokemonSchool_EventScript_ExitTopicSelect::
releaseall
end
RustboroCity_PokemonSchool_EventScript_GameboyKid1::
msgbox RustboroCity_PokemonSchool_Text_TradingRightNow, MSGBOX_NPC
end
RustboroCity_PokemonSchool_EventScript_GameboyKid2::
msgbox RustboroCity_PokemonSchool_Text_AlwaysWantedSeedot, MSGBOX_NPC
end
RustboroCity_PokemonSchool_EventScript_RichBoy::
msgbox RustboroCity_PokemonSchool_Text_PokemontCantUseManMadeItems, MSGBOX_NPC
end
RustboroCity_PokemonSchool_EventScript_Lass::
msgbox RustboroCity_PokemonSchool_Text_ConfusedPokemonAttacksItself, MSGBOX_NPC
end
RustboroCity_PokemonSchool_EventScript_SchoolKidM::
msgbox RustboroCity_PokemonSchool_Text_PokemonHealItselfWithBerry, MSGBOX_NPC
end
RustboroCity_PokemonSchool_EventScript_StudentNotebook::
msgbox RustboroCity_PokemonSchool_Text_StudentsNotes, MSGBOX_SIGN
end
RustboroCity_PokemonSchool_EventScript_Teacher::
lock
faceplayer
goto_if_set FLAG_RECEIVED_QUICK_CLAW, RustboroCity_PokemonSchool_EventScript_GaveQuickClaw
call_if_eq VAR_FACING, DIR_EAST, RustboroCity_PokemonSchool_EventScript_TeacherCheckOnStudentsEast
call_if_eq VAR_FACING, DIR_WEST, RustboroCity_PokemonSchool_EventScript_TeacherCheckOnStudentsWest
msgbox RustboroCity_PokemonSchool_Text_StudentsWhoDontStudyGetQuickClaw, MSGBOX_DEFAULT
giveitem ITEM_QUICK_CLAW
goto_if_eq VAR_RESULT, 0, Common_EventScript_ShowBagIsFull
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFasterDown
waitmovement 0
setflag FLAG_RECEIVED_QUICK_CLAW
release
end
RustboroCity_PokemonSchool_EventScript_TeacherCheckOnStudentsEast::
applymovement VAR_LAST_TALKED, RustboroCity_PokemonSchool_Movement_TeacherCheckOnStudentsEast
waitmovement 0
return
RustboroCity_PokemonSchool_EventScript_TeacherCheckOnStudentsWest::
applymovement VAR_LAST_TALKED, RustboroCity_PokemonSchool_Movement_TeacherCheckOnStudentsWest
waitmovement 0
return
RustboroCity_PokemonSchool_EventScript_GaveQuickClaw::
msgbox RustboroCity_PokemonSchool_Text_ExplainQuickClaw, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFasterDown
waitmovement 0
release
end
RustboroCity_PokemonSchool_Movement_TeacherCheckOnStudentsWest:
walk_left
walk_down
walk_down
walk_right
walk_in_place_faster_down
delay_16
delay_16
delay_16
walk_down
walk_in_place_faster_left
delay_16
delay_16
walk_right
delay_16
delay_16
delay_8
walk_up
walk_left
walk_left
walk_up
walk_up
walk_right
step_end
RustboroCity_PokemonSchool_Movement_TeacherCheckOnStudentsEast:
walk_right
walk_right
walk_down
walk_down
walk_left
walk_left
walk_in_place_faster_down
delay_16
delay_16
delay_16
walk_down
walk_in_place_faster_left
delay_16
delay_16
walk_right
delay_16
delay_16
delay_8
walk_up
walk_right
walk_up
walk_up
walk_left
walk_left
step_end
RustboroCity_PokemonSchool_EventScript_Scott::
lock
faceplayer
goto_if_set FLAG_MET_SCOTT_AFTER_OBTAINING_STONE_BADGE, RustboroCity_PokemonSchool_EventScript_ScottWatchStudents
goto_if_set FLAG_MET_SCOTT_RUSTBORO, RustboroCity_PokemonSchool_EventScript_ScottSpokeAlready
goto_if_set FLAG_BADGE01_GET, RustboroCity_PokemonSchool_EventScript_ScottGreetHasBadge
msgbox RustboroCity_PokemonSchool_Text_ScottMetAlreadyCut, MSGBOX_DEFAULT
addvar VAR_SCOTT_STATE, 1
setflag FLAG_MET_SCOTT_RUSTBORO
release
end
RustboroCity_PokemonSchool_EventScript_ScottSpokeAlready::
goto_if_set FLAG_BADGE01_GET, RustboroCity_PokemonSchool_EventScript_ScottNoticeBadge
msgbox RustboroCity_PokemonSchool_Text_StudentTalentLevelUnknown, MSGBOX_DEFAULT
release
end
RustboroCity_PokemonSchool_EventScript_ScottGreetHasBadge::
msgbox RustboroCity_PokemonSchool_Text_ScottMetAlreadyStoneBadge, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_MetScottAfterBadge
end
RustboroCity_PokemonSchool_EventScript_ScottNoticeBadge::
msgbox RustboroCity_PokemonSchool_Text_ScottStoneBadge, MSGBOX_DEFAULT
goto RustboroCity_PokemonSchool_EventScript_MetScottAfterBadge
end
RustboroCity_PokemonSchool_EventScript_MetScottAfterBadge::
addvar VAR_SCOTT_STATE, 1
setflag FLAG_MET_SCOTT_AFTER_OBTAINING_STONE_BADGE
release
end
RustboroCity_PokemonSchool_EventScript_ScottWatchStudents::
msgbox RustboroCity_PokemonSchool_Text_StudentTalentLevelUnknown, MSGBOX_DEFAULT
release
end
RustboroCity_PokemonSchool_Text_BlackboardListsStatusChanges:
.string "The blackboard lists status changes\n"
.string "that may affect Pokémon in battle.$"
2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_Text_ReadWhichTopic:
.string "Which topic do you want to read?$"
RustboroCity_PokemonSchool_Text_ExplainPoison:
.string "If a Pokémon is poisoned, it will\n"
2022-05-19 19:14:13 +02:00
.string "steadily lose HP.\p"
.string "The effects of poison remain after\n"
.string "a battle.\p"
.string "A poisoned Pokémon's HP will drop\n"
2022-05-19 19:14:13 +02:00
.string "while it is traveling.\p"
.string "Heal a poisoning using an Antidote.$"
2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_Text_ExplainParalysis:
.string "If a Pokémon becomes paralyzed,\n"
.string "its Speed drops.\p"
2022-05-19 19:14:13 +02:00
.string "It may also not be able to move while\n"
.string "it is in battle.\p"
.string "Paralysis remains after battle.\n"
.string "Cure it using a Parlyz Heal.$"
2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_Text_ExplainSleep:
.string "If a Pokémon falls asleep, it will be\n"
2022-05-19 19:14:13 +02:00
.string "unable to attack.\p"
.string "A Pokémon may wake up on its own,\n"
2022-05-19 19:14:13 +02:00
.string "but if a battle ends while it is\l"
.string "sleeping, it will stay asleep.\p"
.string "Wake it up using an Awakening.$"
2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_Text_ExplainBurn:
.string "A burn reduces Attack power, and it\n"
2022-05-19 19:14:13 +02:00
.string "steadily reduces the victim's HP.\p"
.string "A burn lingers after battle.\n"
.string "Cure a burn using a Burn Heal.$"
2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_Text_ExplainFreeze:
.string "If a Pokémon is frozen, it becomes\n"
2022-05-19 19:14:13 +02:00
.string "completely helpless.\p"
.string "It will remain frozen after battle.\n"
.string "Thaw it out using an Ice Heal.$"
2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_Text_StudentsWhoDontStudyGetQuickClaw:
.string "Students who don't study get a little\n"
.string "taste of my Quick Claw.\p"
2022-05-19 19:14:13 +02:00
.string "Whether or not you are a good student \n"
.string "will be evident from the way you use\l"
.string "this item.$"
RustboroCity_PokemonSchool_Text_ExplainQuickClaw:
.string "A Pokémon holding the Quick Claw will\n"
2022-05-19 19:14:13 +02:00
.string "occasionally speed up and get to move\l"
.string "before its opponent.\p"
.string "There are many other items that are\n"
.string "meant to be held by Pokémon.\p"
2022-05-19 19:14:13 +02:00
.string "Just those alone will give you many\n"
.string "topics to study!$"
RustboroCity_PokemonSchool_Text_TradingRightNow:
.string "I'm trading Pokémon with my friend\n"
2022-05-19 19:14:13 +02:00
.string "right now.$"
RustboroCity_PokemonSchool_Text_AlwaysWantedSeedot:
.string "I always wanted a Seedot, and\n"
2022-05-19 19:14:13 +02:00
.string "I'm finally getting one!$"
RustboroCity_PokemonSchool_Text_PokemontCantUseManMadeItems:
.string "Pokémon can hold items, but they\n"
2022-05-19 19:14:13 +02:00
.string "don't know what to do with man-made\l"
.string "items like Potion and Antidote.$"
2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_Text_ConfusedPokemonAttacksItself:
.string "You know how some Pokémon moves can\n"
.string "confuse a Pokémon?\p"
.string "A confused Pokémon will sometimes\n"
2022-05-19 19:14:13 +02:00
.string "attack itself without meaning to.\p"
.string "But once it leaves battle, it will\n"
.string "return to normal.$"
RustboroCity_PokemonSchool_Text_PokemonHealItselfWithBerry:
.string "A Pokémon holding a Berry will heal\n"
2022-05-19 19:14:13 +02:00
.string "itself…\p"
.string "There are many kinds of items that\n"
.string "Pokémon can hold…\p"
2022-05-19 19:14:13 +02:00
.string "Boy, it sure is hard taking notes\n"
.string "down…$"
RustboroCity_PokemonSchool_Text_StudentsNotes:
.string "It's this student's notebook…\p"
.string "Pokémon are to be caught using\n"
.string "Poké Balls.\p"
.string "Up to six Pokémon can accompany\n"
.string "a Trainer.\p"
.string "A Trainer is someone who catches\n"
.string "Pokémon, raises them, and battles\l"
2022-05-19 19:14:13 +02:00
.string "with them.\p"
.string "A Trainer's mission is to defeat\n"
.string "the strong Trainers who await\l"
.string "challengers in Pokémon Gyms.$"
2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_Text_ScottMetAlreadyCut:
.string "Hello? Didn't we meet before?\n"
.string "I think back in Petalburg City.\p"
2022-05-19 19:14:13 +02:00
.string "Let me introduce myself.\n"
.string "My name's Scott.\p"
2022-05-19 19:14:13 +02:00
.string "I've been traveling everywhere in\n"
.string "search of outstanding Trainers.\p"
2022-05-19 19:14:13 +02:00
.string "More specifically, I'm looking for\n"
.string "Pokémon battle experts.\p"
.string "So, what brings you to this School?\n"
.string "Are you a Trainer, too?\p"
2022-05-19 19:14:13 +02:00
.string "The first thing you should do is to\n"
.string "have a Pokémon learn the move Cut.\p"
2022-05-19 19:14:13 +02:00
.string "If I remember correctly, someone in\n"
.string "this town has Cut.$"
2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_Text_StudentTalentLevelUnknown:
.string "Scott: Hmm…\p"
2022-05-19 19:14:13 +02:00
.string "The talent levels of the students here\n"
.string "are unknown. The potential's there.$"
RustboroCity_PokemonSchool_Text_ScottStoneBadge:
.string "Scott: Oh, what's that?\p"
.string "It's a Stone Badge, isn't it?\n"
2022-05-19 19:14:13 +02:00
.string "That's pretty impressive, I'd say.\p"
.string "But, you know, I would've loved to see\n"
.string "you in battle.\p"
.string "It's hard to tell what you're like as\n"
.string "a Trainer from a League Badge.$"
2022-05-19 19:14:13 +02:00
RustboroCity_PokemonSchool_Text_ScottMetAlreadyStoneBadge:
.string "Hello? Didn't we meet before?\n"
.string "I think back in Petalburg City.\p"
2022-05-19 19:14:13 +02:00
.string "Let me introduce myself.\n"
.string "My name's Scott.\p"
2022-05-19 19:14:13 +02:00
.string "I've been traveling everywhere in\n"
.string "search of outstanding Trainers.\p"
2022-05-19 19:14:13 +02:00
.string "More specifically, I'm looking for\n"
.string "Pokémon battle experts.\p"
2022-05-19 19:14:13 +02:00
.string "Oh, what's that?\n"
.string "It's a Stone Badge, isn't it?\p"
2022-05-19 19:14:13 +02:00
.string "That's pretty impressive, I'd say, for\n"
.string "a starting Trainer like yourself.\p"
2022-05-19 19:14:13 +02:00
.string "But, you know, I would've loved to see\n"
.string "you in battle.\p"
.string "It's hard to tell what you're like as\n"
.string "a Trainer from a League Badge.$"
2022-05-19 19:14:13 +02:00