import from github
This commit is contained in:
227
data/maps/SSTidalRooms/map.json
Normal file
227
data/maps/SSTidalRooms/map.json
Normal file
@ -0,0 +1,227 @@
|
||||
{
|
||||
"id": "MAP_SS_TIDAL_ROOMS",
|
||||
"name": "SSTidalRooms",
|
||||
"layout": "LAYOUT_SS_TIDAL_ROOMS",
|
||||
"music": "MUS_SAILING",
|
||||
"region_map_section": "MAPSEC_DYNAMIC",
|
||||
"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_POKEFAN_M",
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"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": "0",
|
||||
"script": "SSTidalRooms_EventScript_Colton",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN",
|
||||
"x": 34,
|
||||
"y": 11,
|
||||
"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": "3",
|
||||
"script": "SSTidalRooms_EventScript_Micah",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN",
|
||||
"x": 21,
|
||||
"y": 5,
|
||||
"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": "0",
|
||||
"script": "SSTidalRooms_EventScript_Thomas",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_4",
|
||||
"x": 5,
|
||||
"y": 14,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "SSTidalRooms_EventScript_Jed",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_4",
|
||||
"x": 4,
|
||||
"y": 14,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "SSTidalRooms_EventScript_Lea",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_RICH_BOY",
|
||||
"x": 22,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "SSTidalRooms_EventScript_Garret",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2",
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"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": "0",
|
||||
"script": "SSTidalRooms_EventScript_Naomi",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MANIAC",
|
||||
"x": 28,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SSTidalRooms_EventScript_SnatchGiver",
|
||||
"flag": "FLAG_HIDE_SS_TIDAL_ROOMS_SNATCH_GIVER"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 4,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 14,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 22,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 23,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 31,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 32,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 13,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 5
|
||||
},
|
||||
{
|
||||
"x": 22,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 6
|
||||
},
|
||||
{
|
||||
"x": 31,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SS_TIDAL_CORRIDOR",
|
||||
"dest_warp_id": 7
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 15,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SSTidalRooms_EventScript_Bed"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 15,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SSTidalRooms_EventScript_Bed"
|
||||
}
|
||||
]
|
||||
}
|
175
data/maps/SSTidalRooms/scripts.inc
Normal file
175
data/maps/SSTidalRooms/scripts.inc
Normal file
@ -0,0 +1,175 @@
|
||||
SSTidalRooms_MapScripts::
|
||||
.byte 0
|
||||
|
||||
SSTidalRooms_EventScript_SnatchGiver::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_TM49, SSTidalRooms_EventScript_ExplainSnatch
|
||||
msgbox SSTidalRooms_Text_NotSuspiciousTakeThis, MSGBOX_DEFAULT
|
||||
giveitem ITEM_TM49
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM49
|
||||
msgbox SSTidalRooms_Text_ExplainSnatch, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SSTidalRooms_EventScript_ExplainSnatch::
|
||||
msgbox SSTidalRooms_Text_ExplainSnatch, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SSTidalRooms_EventScript_Bed::
|
||||
lockall
|
||||
msgbox SSTidalRooms_Text_TakeRestOnBed, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call Common_EventScript_OutOfCenterPartyHeal
|
||||
call SSTidalRooms_EventScript_ProgessCruiseAfterBed
|
||||
releaseall
|
||||
end
|
||||
|
||||
SSTidalRooms_EventScript_Colton::
|
||||
trainerbattle_single TRAINER_COLTON, SSTidalRooms_Text_ColtonIntro, SSTidalRooms_Text_ColtonDefeat
|
||||
msgbox SSTidalRooms_Text_ColtonPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
SSTidalRooms_EventScript_Micah::
|
||||
trainerbattle_single TRAINER_MICAH, SSTidalRooms_Text_MicahIntro, SSTidalRooms_Text_MicahDefeat
|
||||
msgbox SSTidalRooms_Text_MicahPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
SSTidalRooms_EventScript_Thomas::
|
||||
trainerbattle_single TRAINER_THOMAS, SSTidalRooms_Text_ThomasIntro, SSTidalRooms_Text_ThomasDefeat
|
||||
msgbox SSTidalRooms_Text_ThomasPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
SSTidalRooms_EventScript_Jed::
|
||||
trainerbattle_double TRAINER_LEA_AND_JED, SSTidalRooms_Text_JedIntro, SSTidalRooms_Text_JedDefeat, SSTidalRooms_Text_JedNotEnoughMons
|
||||
msgbox SSTidalRooms_Text_JedPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
SSTidalRooms_EventScript_Lea::
|
||||
trainerbattle_double TRAINER_LEA_AND_JED, SSTidalRooms_Text_LeaIntro, SSTidalRooms_Text_LeaDefeat, SSTidalRooms_Text_LeaNotEnoughMons
|
||||
msgbox SSTidalRooms_Text_LeaPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
SSTidalRooms_EventScript_Garret::
|
||||
trainerbattle_single TRAINER_GARRET, SSTidalRooms_Text_GarretIntro, SSTidalRooms_Text_GarretDefeat
|
||||
msgbox SSTidalRooms_Text_GarretPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
SSTidalRooms_EventScript_Naomi::
|
||||
trainerbattle_single TRAINER_NAOMI, SSTidalRooms_Text_NaomiIntro, SSTidalRooms_Text_NaomiDefeat
|
||||
msgbox SSTidalRooms_Text_NaomiPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
SSTidalRooms_Text_TakeRestOnBed:
|
||||
.string "There's a bed…\n"
|
||||
.string "Let's take a rest.$"
|
||||
|
||||
SSTidalRooms_Text_ColtonIntro:
|
||||
.string "I often sail to LILYCOVE CITY.\p"
|
||||
.string "I enjoy attending CONTESTS,\n"
|
||||
.string "you see.$"
|
||||
|
||||
SSTidalRooms_Text_ColtonDefeat:
|
||||
.string "That was an enjoyable match!$"
|
||||
|
||||
SSTidalRooms_Text_ColtonPostBattle:
|
||||
.string "I get so excited imagining what kinds\n"
|
||||
.string "of POKéMON I'll get to see in the next\l"
|
||||
.string "CONTEST. The anticipation of it thrills!$"
|
||||
|
||||
SSTidalRooms_Text_MicahIntro:
|
||||
.string "Are your friends strong?$"
|
||||
|
||||
SSTidalRooms_Text_MicahDefeat:
|
||||
.string "Your friends are, indeed, strong.$"
|
||||
|
||||
SSTidalRooms_Text_MicahPostBattle:
|
||||
.string "Friends need not be human.\n"
|
||||
.string "For me, POKéMON are treasured friends!$"
|
||||
|
||||
SSTidalRooms_Text_ThomasIntro:
|
||||
.string "Child…\n"
|
||||
.string "Did you knock on the door?$"
|
||||
|
||||
SSTidalRooms_Text_ThomasDefeat:
|
||||
.string "A loss is to be accepted without haste\n"
|
||||
.string "or panic.$"
|
||||
|
||||
SSTidalRooms_Text_ThomasPostBattle:
|
||||
.string "To be never ruffled in any situation is\n"
|
||||
.string "the GENTLEMAN's code of conduct.$"
|
||||
|
||||
SSTidalRooms_Text_JedIntro:
|
||||
.string "JED: I feel a little shy about this, but…\n"
|
||||
.string "We'll show you our lovey-dovey power!$"
|
||||
|
||||
SSTidalRooms_Text_JedDefeat:
|
||||
.string "JED: Sigh…$"
|
||||
|
||||
SSTidalRooms_Text_JedPostBattle:
|
||||
.string "JED: It's the first time that our lovey-\n"
|
||||
.string "dovey power couldn't prevail!\l"
|
||||
.string "You must be an awesome TRAINER!$"
|
||||
|
||||
SSTidalRooms_Text_JedNotEnoughMons:
|
||||
.string "JED: You only have one POKéMON?\n"
|
||||
.string "Isn't that just too lonesome?$"
|
||||
|
||||
SSTidalRooms_Text_LeaIntro:
|
||||
.string "LEA: I feel a little silly, but…\n"
|
||||
.string "We'll show you our lovey-dovey power!$"
|
||||
|
||||
SSTidalRooms_Text_LeaDefeat:
|
||||
.string "LEA: Oh, boo!$"
|
||||
|
||||
SSTidalRooms_Text_LeaPostBattle:
|
||||
.string "LEA: I can't believe it!\n"
|
||||
.string "Our lovey-dovey power failed…\l"
|
||||
.string "You must be an awesome TRAINER!$"
|
||||
|
||||
SSTidalRooms_Text_LeaNotEnoughMons:
|
||||
.string "LEA: I wanted to battle…\n"
|
||||
.string "But you don't even have two POKéMON…$"
|
||||
|
||||
SSTidalRooms_Text_GarretIntro:
|
||||
.string "Ah, you've come just in time.\p"
|
||||
.string "I'm bored, you see.\n"
|
||||
.string "You may entertain me.$"
|
||||
|
||||
SSTidalRooms_Text_GarretDefeat:
|
||||
.string "…That will do.$"
|
||||
|
||||
SSTidalRooms_Text_GarretPostBattle:
|
||||
.string "Perhaps I shall get Father to acquire\n"
|
||||
.string "a yacht for me.\l"
|
||||
.string "A yacht for me and POKéMON!$"
|
||||
|
||||
SSTidalRooms_Text_NaomiIntro:
|
||||
.string "Oh, you're such an adorable TRAINER.\n"
|
||||
.string "Would you like to have tea?\l"
|
||||
.string "Or would you rather battle?$"
|
||||
|
||||
SSTidalRooms_Text_NaomiDefeat:
|
||||
.string "I see.\n"
|
||||
.string "You're the active sort.$"
|
||||
|
||||
SSTidalRooms_Text_NaomiPostBattle:
|
||||
.string "A world cruise on a luxury liner has its\n"
|
||||
.string "charms, I must say…\p"
|
||||
.string "But, I will admit there is an appealing\n"
|
||||
.string "side to touring HOENN by ferry.$"
|
||||
|
||||
SSTidalRooms_Text_NotSuspiciousTakeThis:
|
||||
.string "Uh… Hi! I… I'm not acting suspicious!\n"
|
||||
.string "Uh… You can have this! For free!\p"
|
||||
.string "It… Honestly, I didn't SNATCH it from\n"
|
||||
.string "someone! I'd never do such a thing!\l"
|
||||
.string "It's clean! You can use it!$"
|
||||
|
||||
SSTidalRooms_Text_ExplainSnatch:
|
||||
.string "SNATCH steals the beneficial effects\n"
|
||||
.string "of certain moves before they can be\l"
|
||||
.string "used by a foe or ally.$"
|
||||
|
Reference in New Issue
Block a user