import from github
This commit is contained in:
62
data/maps/PacifidlogTown_House5/map.json
Normal file
62
data/maps/PacifidlogTown_House5/map.json
Normal file
@ -0,0 +1,62 @@
|
||||
{
|
||||
"id": "MAP_PACIFIDLOG_TOWN_HOUSE5",
|
||||
"name": "PacifidlogTown_House5",
|
||||
"layout": "LAYOUT_PACIFIDLOG_TOWN_HOUSE1",
|
||||
"music": "MUS_LILYCOVE",
|
||||
"region_map_section": "MAPSEC_PACIFIDLOG_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_EXPERT_M",
|
||||
"x": 9,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "PacifidlogTown_House5_EventScript_MirageIslandWatcher",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN",
|
||||
"x": 3,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "PacifidlogTown_House5_EventScript_Gentleman",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 4,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PACIFIDLOG_TOWN",
|
||||
"dest_warp_id": 5
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PACIFIDLOG_TOWN",
|
||||
"dest_warp_id": 5
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
36
data/maps/PacifidlogTown_House5/scripts.inc
Normal file
36
data/maps/PacifidlogTown_House5/scripts.inc
Normal file
@ -0,0 +1,36 @@
|
||||
PacifidlogTown_House5_MapScripts::
|
||||
.byte 0
|
||||
|
||||
PacifidlogTown_House5_EventScript_MirageIslandWatcher::
|
||||
lock
|
||||
faceplayer
|
||||
specialvar VAR_RESULT, IsMirageIslandPresent
|
||||
goto_if_eq VAR_RESULT, TRUE, PacifidlogTown_House5_EventScript_MirageIslandPresent
|
||||
msgbox PacifidlogTown_House5_Text_CantSeeMirageIslandToday, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
PacifidlogTown_House5_EventScript_MirageIslandPresent::
|
||||
msgbox PacifidlogTown_House5_Text_CanSeeMirageIslandToday, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
PacifidlogTown_House5_EventScript_Gentleman::
|
||||
msgbox PacifidlogTown_House5_Text_MirageIslandAppearDependingOnWeather, MSGBOX_NPC
|
||||
end
|
||||
|
||||
PacifidlogTown_House5_Text_CantSeeMirageIslandToday:
|
||||
.string "I can't see MIRAGE ISLAND today…$"
|
||||
|
||||
PacifidlogTown_House5_Text_CanSeeMirageIslandToday:
|
||||
.string "Oh! Oh my!\n"
|
||||
.string "I can see MIRAGE ISLAND today!$"
|
||||
|
||||
PacifidlogTown_House5_Text_MirageIslandAppearDependingOnWeather:
|
||||
.string "MIRAGE ISLAND…\p"
|
||||
.string "It must become visible and invisible\n"
|
||||
.string "depending on the weather conditions\l"
|
||||
.string "that make mirages appear.\p"
|
||||
.string "Or is it really appearing and\n"
|
||||
.string "disappearing?$"
|
||||
|
Reference in New Issue
Block a user