Merge branch 'master' of https://github.com/GriffinRichards/pokefirered into clone-union
This commit is contained in:
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"id": "MAP_VIRIDIAN_CITY_SCHOOL",
|
||||
"name": "ViridianCity_School",
|
||||
"layout": "LAYOUT_VIRIDIAN_CITY_SCHOOL",
|
||||
"music": "MUS_PEWTER",
|
||||
"region_map_section": "MAPSEC_VIRIDIAN_CITY",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_INDOOR",
|
||||
"allow_cycling": false,
|
||||
"allow_escaping": false,
|
||||
"allow_running": false,
|
||||
"show_map_name": false,
|
||||
"floor_number": 0,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"type": "object",
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2",
|
||||
"x": 6,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "ViridianCity_School_EventScript_Woman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"graphics_id": "OBJ_EVENT_GFX_LASS",
|
||||
"x": 4,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "ViridianCity_School_EventScript_Lass",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_VIRIDIAN_CITY",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_VIRIDIAN_CITY",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_VIRIDIAN_CITY",
|
||||
"dest_warp_id": 3
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 4,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "ViridianCity_School_EventScript_Notebook"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 5,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "ViridianCity_School_EventScript_Blackboard"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "ViridianCity_School_EventScript_Blackboard"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 9,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "ViridianCity_School_EventScript_PokemonJournal"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 8,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "ViridianCity_School_EventScript_PokemonJournal"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
.set LOCALID_WOMAN, 1
|
||||
.set LOCALID_LASS, 2
|
||||
|
||||
ViridianCity_School_MapScripts::
|
||||
.byte 0
|
||||
|
||||
ViridianCity_School_EventScript_Lass::
|
||||
lock
|
||||
faceplayer
|
||||
msgbox ViridianCity_School_Text_TryingToMemorizeNotes
|
||||
closemessage
|
||||
applymovement LOCALID_LASS, Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_Woman::
|
||||
lock
|
||||
faceplayer
|
||||
msgbox ViridianCity_School_Text_ReadBlackboardCarefully
|
||||
closemessage
|
||||
applymovement LOCALID_WOMAN, Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_Notebook::
|
||||
lockall
|
||||
msgbox ViridianCity_School_Text_NotebookFirstPage
|
||||
msgbox ViridianCity_School_Text_TurnThePage, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq ViridianCity_School_EventScript_StopReadingNotebook
|
||||
msgbox ViridianCity_School_Text_NotebookSecondPage
|
||||
msgbox ViridianCity_School_Text_TurnThePage, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq ViridianCity_School_EventScript_StopReadingNotebook
|
||||
msgbox ViridianCity_School_Text_NotebookThirdPage
|
||||
msgbox ViridianCity_School_Text_TurnThePage, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq ViridianCity_School_EventScript_StopReadingNotebook
|
||||
msgbox ViridianCity_School_Text_NotebookFourthPage
|
||||
applymovement LOCALID_LASS, Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
textcolor 1
|
||||
msgbox ViridianCity_School_Text_HeyDontLookAtMyNotes
|
||||
releaseall
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_StopReadingNotebook::
|
||||
releaseall
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_Blackboard::
|
||||
lockall
|
||||
msgbox ViridianCity_School_Text_BlackboardListsStatusProblems
|
||||
goto ViridianCity_School_EventScript_ChooseBlackboardTopic
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_ChooseBlackboardTopic::
|
||||
message ViridianCity_School_Text_ReadWhichTopic
|
||||
waitmessage
|
||||
multichoicegrid 7, 1, MULTICHOICE_TRAINER_SCHOOL_WHITEBOARD, 3, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, ViridianCity_School_EventScript_ReadSleep
|
||||
case 1, ViridianCity_School_EventScript_ReadPoison
|
||||
case 2, ViridianCity_School_EventScript_ReadParalysis
|
||||
case 3, ViridianCity_School_EventScript_ReadBurn
|
||||
case 4, ViridianCity_School_EventScript_ReadFreeze
|
||||
case 5, ViridianCity_School_EventScript_ExitBlackboard
|
||||
case 127, ViridianCity_School_EventScript_ExitBlackboard
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_ReadSleep::
|
||||
msgbox ViridianCity_School_Text_ExplainSleep
|
||||
goto ViridianCity_School_EventScript_ChooseBlackboardTopic
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_ReadBurn::
|
||||
msgbox ViridianCity_School_Text_ExplainBurn
|
||||
goto ViridianCity_School_EventScript_ChooseBlackboardTopic
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_ReadPoison::
|
||||
msgbox ViridianCity_School_Text_ExplainPoison
|
||||
goto ViridianCity_School_EventScript_ChooseBlackboardTopic
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_ReadFreeze::
|
||||
msgbox ViridianCity_School_Text_ExplainFreeze
|
||||
goto ViridianCity_School_EventScript_ChooseBlackboardTopic
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_ReadParalysis::
|
||||
msgbox ViridianCity_School_Text_ExplainParalysis
|
||||
goto ViridianCity_School_EventScript_ChooseBlackboardTopic
|
||||
end
|
||||
|
||||
ViridianCity_School_EventScript_ExitBlackboard::
|
||||
releaseall
|
||||
end
|
||||
@@ -0,0 +1,93 @@
|
||||
ViridianCity_School_Text_TryingToMemorizeNotes::
|
||||
.string "Whew! I'm trying to memorize all my\n"
|
||||
.string "notes.$"
|
||||
|
||||
ViridianCity_School_Text_ReadBlackboardCarefully::
|
||||
.string "Okay!\p"
|
||||
.string "Be sure to read what's on the\n"
|
||||
.string "blackboard carefully!$"
|
||||
|
||||
ViridianCity_School_Text_NotebookFirstPage::
|
||||
.string "Let's check out the notebook.\p"
|
||||
.string "First page…\p"
|
||||
.string "POKé BALLS are used to catch\n"
|
||||
.string "POKéMON.\p"
|
||||
.string "Up to six POKéMON can be carried\n"
|
||||
.string "in your party.\p"
|
||||
.string "People who raise and battle\n"
|
||||
.string "with POKéMON are called TRAINERS.$"
|
||||
|
||||
ViridianCity_School_Text_NotebookSecondPage::
|
||||
.string "Second page…\p"
|
||||
.string "A healthy POKéMON may be hard to\n"
|
||||
.string "catch, so weaken it first.\p"
|
||||
.string "Poison, burn, or cause another\n"
|
||||
.string "status problem to weaken it.$"
|
||||
|
||||
ViridianCity_School_Text_NotebookThirdPage::
|
||||
.string "Third page…\p"
|
||||
.string "POKéMON TRAINERS seek others to\n"
|
||||
.string "engage in POKéMON battles.\p"
|
||||
.string "To TRAINERS, the taste of victory\n"
|
||||
.string "is sweet, indeed.\p"
|
||||
.string "Battles are constantly waged at\n"
|
||||
.string "POKéMON GYMS everywhere.$"
|
||||
|
||||
ViridianCity_School_Text_NotebookFourthPage::
|
||||
.string "Fourth page…\p"
|
||||
.string "The ultimate goal for all POKéMON\n"
|
||||
.string "TRAINERS is simple.\p"
|
||||
.string "It is to defeat the top eight\n"
|
||||
.string "POKéMON GYM LEADERS.\p"
|
||||
.string "Do so to earn the right to face…\p"
|
||||
.string "The ELITE FOUR of the POKéMON\n"
|
||||
.string "LEAGUE!$"
|
||||
|
||||
ViridianCity_School_Text_TurnThePage::
|
||||
.string "Turn the page?$"
|
||||
|
||||
ViridianCity_School_Text_HeyDontLookAtMyNotes::
|
||||
.string "GIRL: Hey!\n"
|
||||
.string "Don't look at my notes!$"
|
||||
|
||||
ViridianCity_School_Text_BlackboardListsStatusProblems::
|
||||
.string "The blackboard lists POKéMON\n"
|
||||
.string "STATUS problems during battles.$"
|
||||
|
||||
ViridianCity_School_Text_ReadWhichTopic::
|
||||
.string "Which topic do you want to read?$"
|
||||
|
||||
ViridianCity_School_Text_ExplainSleep::
|
||||
.string "A POKéMON can't attack if it's\n"
|
||||
.string "asleep.\p"
|
||||
.string "POKéMON will stay asleep even\n"
|
||||
.string "after battles.\p"
|
||||
.string "Use AWAKENING to awaken one\n"
|
||||
.string "from sleep.$"
|
||||
|
||||
ViridianCity_School_Text_ExplainBurn::
|
||||
.string "A burn reduces ATTACK power.\n"
|
||||
.string "It also causes ongoing HP loss.\p"
|
||||
.string "A burn remains after a battle.\n"
|
||||
.string "Use BURN HEAL to cure a burn.$"
|
||||
|
||||
ViridianCity_School_Text_ExplainPoison::
|
||||
.string "When poisoned, a POKéMON's health\n"
|
||||
.string "steadily drops.\p"
|
||||
.string "Poison lingers after battles.\n"
|
||||
.string "Use an ANTIDOTE to cure poison!$"
|
||||
|
||||
ViridianCity_School_Text_ExplainFreeze::
|
||||
.string "A frozen POKéMON becomes\n"
|
||||
.string "helplessly immobile.\p"
|
||||
.string "It stays frozen even after the\n"
|
||||
.string "battle ends.\p"
|
||||
.string "Use ICE HEAL to thaw out the\n"
|
||||
.string "suffering POKéMON.$"
|
||||
|
||||
ViridianCity_School_Text_ExplainParalysis::
|
||||
.string "Paralysis reduces SPEED and may\n"
|
||||
.string "prevent the POKéMON from moving.\p"
|
||||
.string "Paralysis remains after battles.\n"
|
||||
.string "Use PARLYZ HEAL for treatment.$"
|
||||
|
||||
Reference in New Issue
Block a user