import from github
This commit is contained in:
104
data/maps/Route110_TrickHousePuzzle8/map.json
Normal file
104
data/maps/Route110_TrickHousePuzzle8/map.json
Normal file
@ -0,0 +1,104 @@
|
||||
{
|
||||
"id": "MAP_ROUTE110_TRICK_HOUSE_PUZZLE8",
|
||||
"name": "Route110_TrickHousePuzzle8",
|
||||
"layout": "LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE8",
|
||||
"music": "MUS_TRICK_HOUSE",
|
||||
"region_map_section": "MAPSEC_ROUTE_110",
|
||||
"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_MAN_3",
|
||||
"x": 1,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route110_TrickHousePuzzle8_EventScript_Vincent",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_3",
|
||||
"x": 4,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route110_TrickHousePuzzle8_EventScript_Leroy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_5",
|
||||
"x": 8,
|
||||
"y": 17,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route110_TrickHousePuzzle8_EventScript_Keira",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 2,
|
||||
"y": 2,
|
||||
"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": "Route110_TrickHousePuzzle8_EventScript_ItemBeadMail",
|
||||
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_8_BEAD_MAIL"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 0,
|
||||
"y": 21,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE110_TRICK_HOUSE_ENTRANCE",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 1,
|
||||
"y": 21,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE110_TRICK_HOUSE_ENTRANCE",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE110_TRICK_HOUSE_END",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 3,
|
||||
"y": 21,
|
||||
"elevation": 3,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "Route110_TrickHousePuzzle8_EventScript_Scroll"
|
||||
}
|
||||
]
|
||||
}
|
71
data/maps/Route110_TrickHousePuzzle8/scripts.inc
Normal file
71
data/maps/Route110_TrickHousePuzzle8/scripts.inc
Normal file
@ -0,0 +1,71 @@
|
||||
Route110_TrickHousePuzzle8_MapScripts::
|
||||
.byte 0
|
||||
|
||||
Route110_TrickHousePuzzle8_EventScript_Scroll::
|
||||
lockall
|
||||
goto_if_eq VAR_TRICK_HOUSE_PUZZLE_8_STATE, 0, Route110_TrickHousePuzzle8_EventScript_FoundScroll
|
||||
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle8_EventScript_FoundScroll::
|
||||
setvar VAR_TRICK_HOUSE_PUZZLE_8_STATE, 1
|
||||
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle8_EventScript_Vincent::
|
||||
trainerbattle_single TRAINER_VINCENT, Route110_TrickHousePuzzle8_Text_VincentIntro, Route110_TrickHousePuzzle8_Text_VincentDefeat
|
||||
msgbox Route110_TrickHousePuzzle8_Text_VincentPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle8_EventScript_Keira::
|
||||
trainerbattle_single TRAINER_KEIRA, Route110_TrickHousePuzzle8_Text_KeiraIntro, Route110_TrickHousePuzzle8_Text_KeiraDefeat
|
||||
msgbox Route110_TrickHousePuzzle8_Text_KeiraPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle8_EventScript_Leroy::
|
||||
trainerbattle_single TRAINER_LEROY, Route110_TrickHousePuzzle8_Text_LeroyIntro, Route110_TrickHousePuzzle8_Text_LeroyDefeat
|
||||
msgbox Route110_TrickHousePuzzle8_Text_LeroyPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle8_EventScript_WroteSecretCodeLockOpened::
|
||||
.string "{PLAYER} wrote down the secret code\n"
|
||||
.string "on the door.\p"
|
||||
.string "“TRICK MASTER I love.”\n"
|
||||
.string "… … … … … … … …\p"
|
||||
.string "The lock clicked open!$"
|
||||
|
||||
Route110_TrickHousePuzzle8_Text_VincentIntro:
|
||||
.string "Not many TRAINERS have made it\n"
|
||||
.string "this far.$"
|
||||
|
||||
Route110_TrickHousePuzzle8_Text_VincentDefeat:
|
||||
.string "That must mean you're tough, too…$"
|
||||
|
||||
Route110_TrickHousePuzzle8_Text_VincentPostBattle:
|
||||
.string "You've beaten the POKéMON LEAGUE\n"
|
||||
.string "CHAMPION? That's too much!$"
|
||||
|
||||
Route110_TrickHousePuzzle8_Text_KeiraIntro:
|
||||
.string "Consider yourself lucky to be\n"
|
||||
.string "battling me!$"
|
||||
|
||||
Route110_TrickHousePuzzle8_Text_KeiraDefeat:
|
||||
.string "This isn't right!\n"
|
||||
.string "I can't lose!$"
|
||||
|
||||
Route110_TrickHousePuzzle8_Text_KeiraPostBattle:
|
||||
.string "It's a miracle that you beat me.\n"
|
||||
.string "You can brag about it.$"
|
||||
|
||||
Route110_TrickHousePuzzle8_Text_LeroyIntro:
|
||||
.string "You've been slugging through the TRICK\n"
|
||||
.string "HOUSE challenge, too.$"
|
||||
|
||||
Route110_TrickHousePuzzle8_Text_LeroyDefeat:
|
||||
.string "I see…\n"
|
||||
.string "You possess an extraordinary style.$"
|
||||
|
||||
Route110_TrickHousePuzzle8_Text_LeroyPostBattle:
|
||||
.string "Seeing someone like you should please\n"
|
||||
.string "the TRICK MASTER.$"
|
||||
|
Reference in New Issue
Block a user