import from github
This commit is contained in:
104
data/maps/Route110_TrickHousePuzzle6/map.json
Normal file
104
data/maps/Route110_TrickHousePuzzle6/map.json
Normal file
@ -0,0 +1,104 @@
|
||||
{
|
||||
"id": "MAP_ROUTE110_TRICK_HOUSE_PUZZLE6",
|
||||
"name": "Route110_TrickHousePuzzle6",
|
||||
"layout": "LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE6",
|
||||
"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_PICNICKER",
|
||||
"x": 7,
|
||||
"y": 9,
|
||||
"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_TrickHousePuzzle6_EventScript_Sophia",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_5",
|
||||
"x": 11,
|
||||
"y": 10,
|
||||
"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": "3",
|
||||
"script": "Route110_TrickHousePuzzle6_EventScript_Benny",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_CAMPER",
|
||||
"x": 4,
|
||||
"y": 5,
|
||||
"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_TrickHousePuzzle6_EventScript_Sebastian",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 11,
|
||||
"y": 21,
|
||||
"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_TrickHousePuzzle6_EventScript_ItemGlitterMail",
|
||||
"flag": "FLAG_ITEM_TRICK_HOUSE_PUZZLE_6_GLITTER_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": 3,
|
||||
"dest_map": "MAP_ROUTE110_TRICK_HOUSE_END",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 0,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "Route110_TrickHousePuzzle6_EventScript_Scroll"
|
||||
}
|
||||
]
|
||||
}
|
86
data/maps/Route110_TrickHousePuzzle6/scripts.inc
Normal file
86
data/maps/Route110_TrickHousePuzzle6/scripts.inc
Normal file
@ -0,0 +1,86 @@
|
||||
Route110_TrickHousePuzzle6_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, Route110_TrickHousePuzzle6_OnTransition
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, Route110_TrickHousePuzzle6_OnWarp
|
||||
.byte 0
|
||||
|
||||
Route110_TrickHousePuzzle6_OnTransition:
|
||||
special RotatingGate_InitPuzzle
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_OnWarp:
|
||||
map_script_2 VAR_TEMP_0, VAR_TEMP_0, Route110_TrickHousePuzzle6_EventScript_InitPuzzle
|
||||
.2byte 0
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_InitPuzzle::
|
||||
special RotatingGate_InitPuzzleAndGraphics
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_Scroll::
|
||||
lockall
|
||||
goto_if_eq VAR_TRICK_HOUSE_PUZZLE_6_STATE, 0, Route110_TrickHousePuzzle6_EventScript_FoundScroll
|
||||
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_FoundScroll::
|
||||
setvar VAR_TRICK_HOUSE_PUZZLE_6_STATE, 1
|
||||
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_Sophia::
|
||||
trainerbattle_single TRAINER_SOPHIA, Route110_TrickHousePuzzle6_Text_SophiaIntro, Route110_TrickHousePuzzle6_Text_SophiaDefeat
|
||||
msgbox Route110_TrickHousePuzzle6_Text_SophiaPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_Benny::
|
||||
trainerbattle_single TRAINER_BENNY, Route110_TrickHousePuzzle6_Text_BennyIntro, Route110_TrickHousePuzzle6_Text_BennyDefeat
|
||||
msgbox Route110_TrickHousePuzzle6_Text_BennyPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_Sebastian::
|
||||
trainerbattle_single TRAINER_SEBASTIAN, Route110_TrickHousePuzzle6_Text_SebastianIntro, Route110_TrickHousePuzzle6_Text_SebastianDefeat
|
||||
msgbox Route110_TrickHousePuzzle6_Text_SebastianPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_WroteSecretCodeLockOpened:
|
||||
.string "{PLAYER} wrote down the secret code\n"
|
||||
.string "on the door.\p"
|
||||
.string "“TRICK MASTER is my life.”\n"
|
||||
.string "… … … … … … … …\p"
|
||||
.string "The lock clicked open!$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_SophiaIntro:
|
||||
.string "When I heard there was a strange\n"
|
||||
.string "house, I had to check it out.$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_SophiaDefeat:
|
||||
.string "I've discovered a tough TRAINER!$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_SophiaPostBattle:
|
||||
.string "I'm sure having a good time checking\n"
|
||||
.string "this place out.\p"
|
||||
.string "It's a challenge I've found worth\n"
|
||||
.string "repeating!$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_BennyIntro:
|
||||
.string "Maybe I could get my BIRD POKéMON\n"
|
||||
.string "to fly over the wall…$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_BennyDefeat:
|
||||
.string "Gwaaah! I blew it!$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_BennyPostBattle:
|
||||
.string "Ehehehe… I guess I lost because\n"
|
||||
.string "I was trying to cheat.$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_SebastianIntro:
|
||||
.string "I'm getting dizzy from these rotating\n"
|
||||
.string "doors…$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_SebastianDefeat:
|
||||
.string "Everything's spinning around and\n"
|
||||
.string "around. I can't take this anymore…$"
|
||||
|
||||
Route110_TrickHousePuzzle6_Text_SebastianPostBattle:
|
||||
.string "You don't seem to be affected at all.\n"
|
||||
.string "Or do you have your poker face on?$"
|
||||
|
Reference in New Issue
Block a user