import from github
This commit is contained in:
270
data/maps/LittlerootTown_MaysHouse_2F/map.json
Normal file
270
data/maps/LittlerootTown_MaysHouse_2F/map.json
Normal file
@ -0,0 +1,270 @@
|
||||
{
|
||||
"id": "MAP_LITTLEROOT_TOWN_MAYS_HOUSE_2F",
|
||||
"name": "LittlerootTown_MaysHouse_2F",
|
||||
"layout": "LAYOUT_LITTLEROOT_TOWN_MAYS_HOUSE_2F",
|
||||
"music": "MUS_LITTLEROOT",
|
||||
"region_map_section": "MAPSEC_LITTLEROOT_TOWN",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_INDOOR",
|
||||
"allow_cycling": false,
|
||||
"allow_escaping": false,
|
||||
"allow_running": false,
|
||||
"show_map_name": false,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_RIVAL_MAY_NORMAL",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "RivalsHouse_2F_EventScript_Rival",
|
||||
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_0",
|
||||
"x": 0,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_1"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_1",
|
||||
"x": 1,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_2",
|
||||
"x": 2,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_3"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_3",
|
||||
"x": 3,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_4"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_4",
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_5"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_5",
|
||||
"x": 5,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_6"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_6",
|
||||
"x": 0,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_7"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_7",
|
||||
"x": 1,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_8"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_8",
|
||||
"x": 2,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_9"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_9",
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_10"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_A",
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_11"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_B",
|
||||
"x": 5,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_DECORATION_12"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MOM",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "0x0",
|
||||
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_PLAYERS_BEDROOM_MOM"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_PICHU_DOLL",
|
||||
"x": 3,
|
||||
"y": 4,
|
||||
"elevation": 4,
|
||||
"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": "0x0",
|
||||
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_PICHU_DOLL"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 5,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "LittlerootTown_MaysHouse_2F_EventScript_RivalsPokeBall",
|
||||
"flag": "FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_POKE_BALL"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_LITTLEROOT_TOWN_MAYS_HOUSE_1F",
|
||||
"dest_warp_id": 2
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 5,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "PlayersHouse_2F_EventScript_GameCube"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 7,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "PlayersHouse_2F_EventScript_Notebook"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 3,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "LittlerootTown_MaysHouse_2F_EventScript_WallClock"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 8,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "LittlerootTown_MaysHouse_2F_EventScript_PC"
|
||||
}
|
||||
]
|
||||
}
|
399
data/maps/LittlerootTown_MaysHouse_2F/scripts.inc
Normal file
399
data/maps/LittlerootTown_MaysHouse_2F/scripts.inc
Normal file
@ -0,0 +1,399 @@
|
||||
.set LOCALID_RIVAL, 1
|
||||
|
||||
LittlerootTown_MaysHouse_2F_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, LittlerootTown_MaysHouse_2F_OnTransition
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LittlerootTown_MaysHouse_2F_OnWarp
|
||||
.byte 0
|
||||
|
||||
LittlerootTown_MaysHouse_2F_OnTransition:
|
||||
call_if_lt VAR_LITTLEROOT_RIVAL_STATE, 2, LittlerootTown_MaysHouse_2F_EventScript_CheckSetReadyToMeetMay
|
||||
call_if_ge VAR_LITTLEROOT_RIVAL_STATE, 3, LittlerootTown_MaysHouse_2F_EventScript_CheckShouldUpdateMayPos
|
||||
call_if_eq VAR_LITTLEROOT_INTRO_STATE, 4, PlayersHouse_2F_EventScript_BlockStairsUntilClockIsSet
|
||||
call SecretBase_EventScript_SetDecorationFlags
|
||||
setvar VAR_SECRET_BASE_INITIALIZED, 0
|
||||
end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_CheckShouldUpdateMayPos::
|
||||
goto_if_set FLAG_MET_RIVAL_LILYCOVE, LittlerootTown_MaysHouse_2F_EventScript_TryUpdateMayPos
|
||||
goto_if_ge VAR_BIRCH_LAB_STATE, 2, LittlerootTown_MaysHouse_2F_EventScript_Ret
|
||||
goto LittlerootTown_MaysHouse_2F_EventScript_TryUpdateMayPos
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_TryUpdateMayPos::
|
||||
checkplayergender
|
||||
goto_if_eq VAR_RESULT, FEMALE, LittlerootTown_MaysHouse_2F_EventScript_Ret
|
||||
goto_if_ge VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 2, LittlerootTown_MaysHouse_2F_EventScript_Ret
|
||||
setobjectxyperm LOCALID_RIVAL, 8, 2
|
||||
setobjectmovementtype LOCALID_RIVAL, MOVEMENT_TYPE_FACE_UP
|
||||
return
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_Ret::
|
||||
return
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_CheckSetReadyToMeetMay::
|
||||
checkplayergender
|
||||
goto_if_eq VAR_RESULT, MALE, LittlerootTown_MaysHouse_2F_EventScript_SetReadyToMeetMay
|
||||
return
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_SetReadyToMeetMay::
|
||||
setvar VAR_LITTLEROOT_RIVAL_STATE, 2
|
||||
return
|
||||
|
||||
LittlerootTown_MaysHouse_2F_OnWarp:
|
||||
map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, LittlerootTown_MaysHouse_2F_EventScript_CheckInitDecor
|
||||
.2byte 0
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_CheckInitDecor::
|
||||
checkplayergender
|
||||
goto_if_eq VAR_RESULT, FEMALE, SecretBase_EventScript_InitDecorations
|
||||
end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_RivalsPokeBall::
|
||||
lockall
|
||||
goto_if_eq VAR_LITTLEROOT_RIVAL_STATE, 2, LittlerootTown_MaysHouse_2F_EventScript_MeetMay
|
||||
msgbox RivalsHouse_2F_Text_ItsRivalsPokeBall, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_MeetMay::
|
||||
delay 10
|
||||
addobject LOCALID_RIVAL
|
||||
applymovement LOCALID_RIVAL, LittlerootTown_MaysHouse_2F_Movement_MayEnters
|
||||
waitmovement 0
|
||||
playse SE_PIN
|
||||
applymovement LOCALID_RIVAL, Common_Movement_ExclamationMark
|
||||
waitmovement 0
|
||||
applymovement LOCALID_RIVAL, Common_Movement_Delay48
|
||||
waitmovement 0
|
||||
delay 10
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
call_if_eq VAR_FACING, DIR_NORTH, LittlerootTown_MaysHouse_2F_EventScript_MeetMayNorth
|
||||
call_if_eq VAR_FACING, DIR_SOUTH, LittlerootTown_MaysHouse_2F_EventScript_MeetMaySouth
|
||||
call_if_eq VAR_FACING, DIR_WEST, LittlerootTown_MaysHouse_2F_EventScript_MeetMayWest
|
||||
call_if_eq VAR_FACING, DIR_EAST, LittlerootTown_MaysHouse_2F_EventScript_MeetMayEast
|
||||
setvar VAR_LITTLEROOT_RIVAL_STATE, 3
|
||||
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_POKE_BALL
|
||||
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
|
||||
setvar VAR_LITTLEROOT_TOWN_STATE, 1
|
||||
savebgm MUS_DUMMY
|
||||
fadedefaultbgm
|
||||
releaseall
|
||||
end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_MeetMayNorth::
|
||||
applymovement LOCALID_RIVAL, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerNorth
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterLeft
|
||||
waitmovement 0
|
||||
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayNorth
|
||||
applymovement LOCALID_RIVAL, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCNorth
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_MeetMaySouth::
|
||||
applymovement LOCALID_RIVAL, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerSouth
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterLeft
|
||||
waitmovement 0
|
||||
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMaySouth
|
||||
applymovement LOCALID_RIVAL, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCSouth
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_MeetMayWest::
|
||||
applymovement LOCALID_RIVAL, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerWest
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterUp
|
||||
waitmovement 0
|
||||
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement LOCALID_RIVAL, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCWest
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_MeetMayEast::
|
||||
applymovement LOCALID_RIVAL, LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerEast
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterLeft
|
||||
waitmovement 0
|
||||
msgbox RivalsHouse_2F_Text_MayWhoAreYou, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayEast
|
||||
applymovement LOCALID_RIVAL, LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCEast
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_MayEnters:
|
||||
walk_down
|
||||
walk_down
|
||||
walk_in_place_faster_right
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerNorth:
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
walk_down
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCNorth:
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_in_place_faster_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_in_place_faster_up
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayNorth:
|
||||
delay_16
|
||||
walk_in_place_faster_up
|
||||
delay_16
|
||||
delay_16
|
||||
delay_16
|
||||
delay_16
|
||||
walk_in_place_faster_right
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerSouth:
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCSouth:
|
||||
walk_up
|
||||
walk_in_place_faster_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_in_place_faster_up
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMaySouth:
|
||||
delay_16
|
||||
walk_in_place_faster_up
|
||||
delay_16
|
||||
delay_16
|
||||
walk_in_place_faster_right
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerWest:
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_in_place_faster_down
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCWest:
|
||||
walk_up
|
||||
walk_right
|
||||
walk_right
|
||||
walk_in_place_faster_up
|
||||
step_end
|
||||
|
||||
@ Unused, the player is already facing this direction so its unneeded
|
||||
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayWest:
|
||||
delay_16
|
||||
delay_16
|
||||
walk_in_place_faster_right
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_MayApproachPlayerEast:
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
walk_in_place_faster_right
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_MayWalkToPCEast:
|
||||
walk_up
|
||||
walk_up
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_in_place_faster_up
|
||||
step_end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_Movement_PlayerWatchMayEast:
|
||||
delay_16
|
||||
walk_in_place_faster_up
|
||||
delay_16
|
||||
delay_16
|
||||
walk_in_place_faster_right
|
||||
step_end
|
||||
|
||||
RivalsHouse_2F_EventScript_Rival::
|
||||
lockall
|
||||
goto_if_set FLAG_MET_RIVAL_LILYCOVE, RivalsHouse_2F_EventScript_RivalPostLilycove
|
||||
checkplayergender
|
||||
goto_if_eq VAR_RESULT, MALE, RivalsHouse_2F_EventScript_May
|
||||
goto_if_eq VAR_RESULT, FEMALE, RivalsHouse_2F_EventScript_Brendan
|
||||
end
|
||||
|
||||
RivalsHouse_2F_EventScript_May::
|
||||
msgbox RivalsHouse_2F_Text_MayGettingReady, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
RivalsHouse_2F_EventScript_Brendan::
|
||||
msgbox RivalsHouse_2F_Text_BrendanGettingReady, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
RivalsHouse_2F_EventScript_RivalPostLilycove::
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
checkplayergender
|
||||
call_if_eq VAR_RESULT, MALE, RivalsHouse_2F_EventScript_MayPostLilycove
|
||||
call_if_eq VAR_RESULT, FEMALE, RivalsHouse_2F_EventScript_BrendanPostLilycove
|
||||
setflag FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE
|
||||
releaseall
|
||||
end
|
||||
|
||||
RivalsHouse_2F_EventScript_MayPostLilycove::
|
||||
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, RivalsHouse_2F_EventScript_MayWhereShouldIGoNext
|
||||
msgbox RivalsHouse_2F_Text_MayJustCheckingMyPokedex, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
RivalsHouse_2F_EventScript_BrendanPostLilycove::
|
||||
goto_if_set FLAG_MET_RIVAL_IN_HOUSE_AFTER_LILYCOVE, RivalsHouse_2F_EventScript_BrendanWhereShouldIGoNext
|
||||
msgbox RivalsHouse_2F_Text_BrendanJustCheckingMyPokedex, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
RivalsHouse_2F_EventScript_MayWhereShouldIGoNext::
|
||||
msgbox RivalsHouse_2F_Text_MayWhereShouldIGoNext, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
RivalsHouse_2F_EventScript_BrendanWhereShouldIGoNext::
|
||||
msgbox RivalsHouse_2F_Text_BrendanWhereShouldIGoNext, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_PC::
|
||||
lockall
|
||||
checkplayergender
|
||||
goto_if_eq VAR_RESULT, MALE, LittlerootTown_MaysHouse_2F_EventScript_CheckRivalsPC
|
||||
goto_if_eq VAR_RESULT, FEMALE, LittlerootTown_MaysHouse_2F_EventScript_CheckPlayersPC
|
||||
end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_CheckRivalsPC::
|
||||
msgbox gText_PokemonTrainerSchoolEmail, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_CheckPlayersPC::
|
||||
setvar VAR_0x8004, 2
|
||||
special DoPCTurnOnEffect
|
||||
playse SE_PC_ON
|
||||
msgbox gText_PlayerHouseBootPC, MSGBOX_DEFAULT
|
||||
special BedroomPC
|
||||
waitstate
|
||||
releaseall
|
||||
end
|
||||
|
||||
LittlerootTown_MaysHouse_2F_EventScript_TurnOffPlayerPC::
|
||||
setvar VAR_0x8004, 2
|
||||
playse SE_PC_OFF
|
||||
special DoPCTurnOffEffect
|
||||
releaseall
|
||||
end
|
||||
|
||||
RivalsHouse_2F_Text_MayWhoAreYou:
|
||||
.string "Huh?\n"
|
||||
.string "Who… Who are you?\p"
|
||||
.string "… … … … … … … …\n"
|
||||
.string "… … … … … … … …\p"
|
||||
.string "Oh, you're {PLAYER}{KUN}.\n"
|
||||
.string "So your move was today.\p"
|
||||
.string "Um… I'm MAY.\n"
|
||||
.string "Glad to meet you!\p"
|
||||
.string "I…\n"
|
||||
.string "I have this dream of becoming friends\l"
|
||||
.string "with POKéMON all over the world.\p"
|
||||
.string "I… I heard about you, {PLAYER}{KUN}, from\n"
|
||||
.string "my dad, PROF. BIRCH.\p"
|
||||
.string "I was hoping that you would be nice,\n"
|
||||
.string "{PLAYER}{KUN}, and that we could be friends.\p"
|
||||
.string "Oh, this is silly, isn't it?\n"
|
||||
.string "I… I've just met you, {PLAYER}{KUN}.\p"
|
||||
.string "Eheheh…\p"
|
||||
.string "Oh, no! I forgot!\p"
|
||||
.string "I was supposed to go help Dad catch\n"
|
||||
.string "some wild POKéMON!\p"
|
||||
.string "{PLAYER}{KUN}, I'll catch you later!$"
|
||||
|
||||
RivalsHouse_2F_Text_MayGettingReady:
|
||||
.string "POKéMON fully restored!\n"
|
||||
.string "Items ready, and…$"
|
||||
|
||||
RivalsHouse_2F_Text_BrendanWhoAreYou:
|
||||
.string "Hey!\n"
|
||||
.string "You…\p"
|
||||
.string "Who are you?\p"
|
||||
.string "Oh, you're {PLAYER}, aren't you?\n"
|
||||
.string "Moved in next door, right?\p"
|
||||
.string "I didn't know that you're a girl.\p"
|
||||
.string "Dad, PROF. BIRCH, said that our new\n"
|
||||
.string "next-door neighbor is a GYM LEADER's\l"
|
||||
.string "kid, so I assumed you'd be a guy.\p"
|
||||
.string "My name's BRENDAN.\n"
|
||||
.string "So, hi, neighbor!\p"
|
||||
.string "Huh? Hey, {PLAYER}, don't you have\n"
|
||||
.string "a POKéMON?\p"
|
||||
.string "Do you want me to go catch you one?\p"
|
||||
.string "Aw, darn, I forgot…\p"
|
||||
.string "I'm supposed to go help my dad catch\n"
|
||||
.string "some wild POKéMON.\p"
|
||||
.string "Some other time, okay?$"
|
||||
|
||||
RivalsHouse_2F_Text_BrendanGettingReady:
|
||||
.string "POKéMON fully restored…\n"
|
||||
.string "Items all packed, and…$"
|
||||
|
||||
RivalsHouse_2F_Text_ItsRivalsPokeBall:
|
||||
.string "It's {RIVAL}'s POKé BALL!\p"
|
||||
.string "Better leave it right where it is.$"
|
||||
|
||||
RivalsHouse_2F_Text_MayJustCheckingMyPokedex:
|
||||
.string "MAY: {PLAYER}{KUN}!\p"
|
||||
.string "I was just checking my POKéDEX.\p"
|
||||
.string "There's still a lot of POKéMON that\n"
|
||||
.string "I've seen but haven't caught.\p"
|
||||
.string "And there are many others that\n"
|
||||
.string "I think will evolve.\p"
|
||||
.string "I wonder where I should go catch\n"
|
||||
.string "some POKéMON next?$"
|
||||
|
||||
RivalsHouse_2F_Text_MayWhereShouldIGoNext:
|
||||
.string "MAY: I wonder where I should go catch\n"
|
||||
.string "some POKéMON next?\p"
|
||||
.string "Wouldn't it be funny if we ran into each\n"
|
||||
.string "other, {PLAYER}{KUN}?$"
|
||||
|
||||
RivalsHouse_2F_Text_BrendanJustCheckingMyPokedex:
|
||||
.string "BRENDAN: Hey, it's {PLAYER}.\p"
|
||||
.string "I was just checking out my POKéDEX.\p"
|
||||
.string "There are still many POKéMON that\n"
|
||||
.string "I need to catch, I know, but this\l"
|
||||
.string "is looking pretty good.\p"
|
||||
.string "Checking this POKéDEX out gives me\n"
|
||||
.string "the urge to hit the road again.$"
|
||||
|
||||
RivalsHouse_2F_Text_BrendanWhereShouldIGoNext:
|
||||
.string "BRENDAN: I'm having a hard time deciding\n"
|
||||
.string "where I should catch POKéMON next.\p"
|
||||
.string "Hey, {PLAYER}, if I see you while I'm out\n"
|
||||
.string "catching POKéMON, I can pitch you a\l"
|
||||
.string "battle if you'd like.$"
|
Reference in New Issue
Block a user