import from github
This commit is contained in:
128
data/maps/MagmaHideout_1F/map.json
Normal file
128
data/maps/MagmaHideout_1F/map.json
Normal file
@ -0,0 +1,128 @@
|
||||
{
|
||||
"id": "MAP_MAGMA_HIDEOUT_1F",
|
||||
"name": "MagmaHideout_1F",
|
||||
"layout": "LAYOUT_MAGMA_HIDEOUT_1F",
|
||||
"music": "MUS_AQUA_MAGMA_HIDEOUT",
|
||||
"region_map_section": "MAPSEC_MAGMA_HIDEOUT",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_UNDERGROUND",
|
||||
"allow_cycling": true,
|
||||
"allow_escaping": true,
|
||||
"allow_running": true,
|
||||
"show_map_name": true,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAGMA_MEMBER_M",
|
||||
"x": 4,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "2",
|
||||
"script": "MagmaHideout_1F_EventScript_Grunt1",
|
||||
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 3,
|
||||
"y": 20,
|
||||
"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": "MagmaHideout_1F_EventScript_ItemRareCandy",
|
||||
"flag": "FLAG_ITEM_MAGMA_HIDEOUT_1F_RARE_CANDY"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAGMA_MEMBER_M",
|
||||
"x": 30,
|
||||
"y": 20,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "MagmaHideout_1F_EventScript_Grunt2",
|
||||
"flag": "FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_PUSHABLE_BOULDER",
|
||||
"x": 5,
|
||||
"y": 22,
|
||||
"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": "EventScript_StrengthBoulder",
|
||||
"flag": "FLAG_TEMP_11"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_PUSHABLE_BOULDER",
|
||||
"x": 7,
|
||||
"y": 22,
|
||||
"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": "EventScript_StrengthBoulder",
|
||||
"flag": "FLAG_TEMP_12"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_PUSHABLE_BOULDER",
|
||||
"x": 6,
|
||||
"y": 23,
|
||||
"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": "EventScript_StrengthBoulder",
|
||||
"flag": "FLAG_TEMP_13"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 10,
|
||||
"y": 34,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_JAGGED_PASS",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 25,
|
||||
"y": 34,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MAGMA_HIDEOUT_2F_1R",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 31,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MAGMA_HIDEOUT_2F_2R",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 20,
|
||||
"y": 22,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MAGMA_HIDEOUT_2F_3R",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
53
data/maps/MagmaHideout_1F/scripts.inc
Normal file
53
data/maps/MagmaHideout_1F/scripts.inc
Normal file
@ -0,0 +1,53 @@
|
||||
MagmaHideout_1F_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, MagmaHideout_1F_OnTransition
|
||||
.byte 0
|
||||
|
||||
MagmaHideout_1F_OnTransition:
|
||||
setvar VAR_JAGGED_PASS_ASH_WEATHER, 0
|
||||
end
|
||||
|
||||
MagmaHideout_1F_EventScript_Grunt1::
|
||||
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_1, MagmaHideout_1F_Text_Grunt1Intro, MagmaHideout_1F_Text_Grunt1Defeat
|
||||
msgbox MagmaHideout_1F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MagmaHideout_1F_EventScript_Grunt2::
|
||||
trainerbattle_single TRAINER_GRUNT_MAGMA_HIDEOUT_2, MagmaHideout_1F_Text_Grunt2Intro, MagmaHideout_1F_Text_Grunt2Defeat
|
||||
msgbox MagmaHideout_1F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MagmaHideout_1F_Text_Grunt1Intro:
|
||||
.string "When TEAM MAGMA has roll call, we get\n"
|
||||
.string "important guarding assignments in\l"
|
||||
.string "the order that we line up.\p"
|
||||
.string "That's why I'm stuck off in this corner.\n"
|
||||
.string "I'm always late to roll call!$"
|
||||
|
||||
MagmaHideout_1F_Text_Grunt1Defeat:
|
||||
.string "I'm always late for training sessions,\n"
|
||||
.string "too!\p"
|
||||
.string "I hate to say it, but I'm wimpy…$"
|
||||
|
||||
MagmaHideout_1F_Text_Grunt1PostBattle:
|
||||
.string "Okay, I'll try to put a little more\n"
|
||||
.string "effort into things from now on…$"
|
||||
|
||||
MagmaHideout_1F_Text_Grunt2Intro:
|
||||
.string "Our leader told us to dig into\n"
|
||||
.string "MT. CHIMNEY, so we dug and dug.\p"
|
||||
.string "And in the course of digging, we came\n"
|
||||
.string "across something that blew our minds!\p"
|
||||
.string "What did we find?\p"
|
||||
.string "Fuhahaha!\n"
|
||||
.string "I'll tell you if you beat me!$"
|
||||
|
||||
MagmaHideout_1F_Text_Grunt2Defeat:
|
||||
.string "Arrgh!\n"
|
||||
.string "Taken down!$"
|
||||
|
||||
MagmaHideout_1F_Text_Grunt2PostBattle:
|
||||
.string "I won't tell you after all.\n"
|
||||
.string "You'll find out when you get there!\p"
|
||||
.string "It'd be better if you saved surprises\n"
|
||||
.string "to the end, don't you think?$"
|
||||
|
Reference in New Issue
Block a user