import from github
This commit is contained in:
49
data/maps/LilycoveCity_MoveDeletersHouse/map.json
Normal file
49
data/maps/LilycoveCity_MoveDeletersHouse/map.json
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "MAP_LILYCOVE_CITY_MOVE_DELETERS_HOUSE",
|
||||
"name": "LilycoveCity_MoveDeletersHouse",
|
||||
"layout": "LAYOUT_HOUSE2",
|
||||
"music": "MUS_LILYCOVE",
|
||||
"region_map_section": "MAPSEC_LILYCOVE_CITY",
|
||||
"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": 4,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "LilycoveCity_MoveDeletersHouse_EventScript_MoveDeleter",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_LILYCOVE_CITY",
|
||||
"dest_warp_id": 7
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_LILYCOVE_CITY",
|
||||
"dest_warp_id": 7
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
108
data/maps/LilycoveCity_MoveDeletersHouse/scripts.inc
Normal file
108
data/maps/LilycoveCity_MoveDeletersHouse/scripts.inc
Normal file
@ -0,0 +1,108 @@
|
||||
.set LOCALID_MOVE_DELETER, 1
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_MapScripts::
|
||||
.byte 0
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_EventScript_MoveDeleter::
|
||||
lockall
|
||||
applymovement LOCALID_MOVE_DELETER, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox LilycoveCity_MoveDeletersHouse_Text_ICanMakeMonForgetMove, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case YES, LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget
|
||||
case NO, LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget::
|
||||
msgbox LilycoveCity_MoveDeletersHouse_Text_WhichMonShouldForget, MSGBOX_DEFAULT
|
||||
special ChoosePartyMon
|
||||
waitstate
|
||||
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
|
||||
special IsSelectedMonEgg
|
||||
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_MoveDeletersHouse_EventScript_EggCantForgetMoves
|
||||
special GetNumMovesSelectedMonHas
|
||||
goto_if_eq VAR_RESULT, 1, LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove
|
||||
msgbox LilycoveCity_MoveDeletersHouse_Text_WhichMoveShouldBeForgotten, MSGBOX_DEFAULT
|
||||
fadescreen FADE_TO_BLACK
|
||||
special MoveDeleterChooseMoveToForget
|
||||
fadescreen FADE_FROM_BLACK
|
||||
goto_if_eq VAR_0x8005, MAX_MON_MOVES, LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget
|
||||
special BufferMoveDeleterNicknameAndMove
|
||||
msgbox LilycoveCity_MoveDeletersHouse_Text_MonsMoveShouldBeForgotten, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case YES, LilycoveCity_MoveDeletersHouse_EventScript_TryForgetMove
|
||||
case NO, LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_EventScript_TryForgetMove::
|
||||
special IsLastMonThatKnowsSurf
|
||||
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_MoveDeletersHouse_EventScript_LastMonWithSurf
|
||||
special MoveDeleterForgetMove
|
||||
playfanfare MUS_MOVE_DELETED
|
||||
waitfanfare
|
||||
msgbox LilycoveCity_MoveDeletersHouse_Text_MonHasForgottenMove, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove::
|
||||
special BufferMoveDeleterNicknameAndMove
|
||||
msgbox LilycoveCity_MoveDeletersHouse_Text_MonOnlyKnowsOneMove, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_EventScript_EggCantForgetMoves::
|
||||
msgbox LilycoveCity_MoveDeletersHouse_Text_EggCantForgetMoves, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain::
|
||||
msgbox LilycoveCity_MoveDeletersHouse_Text_ComeAgain, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_EventScript_LastMonWithSurf::
|
||||
special BufferMoveDeleterNicknameAndMove
|
||||
msgbox LilycoveCity_MoveDeletersHouse_Text_CantForgetSurf, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_Text_ICanMakeMonForgetMove:
|
||||
.string "Uh…\n"
|
||||
.string "Oh, yes, I'm the MOVE DELETER.\p"
|
||||
.string "I can make POKéMON forget their moves.\p"
|
||||
.string "Would you like me to do that?$"
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_Text_WhichMonShouldForget:
|
||||
.string "Which POKéMON should forget a move?$"
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_Text_WhichMoveShouldBeForgotten:
|
||||
.string "Which move should be forgotten?$"
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_Text_MonOnlyKnowsOneMove:
|
||||
.string "{STR_VAR_1} knows only one move\n"
|
||||
.string "so it can't be forgotten…$"
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_Text_MonsMoveShouldBeForgotten:
|
||||
.string "Hm! {STR_VAR_1}'s {STR_VAR_2}?\n"
|
||||
.string "That move should be forgotten?$"
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_Text_MonHasForgottenMove:
|
||||
.string "It worked to perfection!\p"
|
||||
.string "{STR_VAR_1} has forgotten\n"
|
||||
.string "{STR_VAR_2} completely.$"
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_Text_ComeAgain:
|
||||
.string "Come again if there are moves that\n"
|
||||
.string "need to be forgotten.$"
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_Text_EggCantForgetMoves:
|
||||
.string "What?\n"
|
||||
.string "No EGG should know any moves.$"
|
||||
|
||||
LilycoveCity_MoveDeletersHouse_Text_CantForgetSurf:
|
||||
.string "Hm!\p"
|
||||
.string "Your {STR_VAR_1} doesn't seem willing\n"
|
||||
.string "to forget SURF.$"
|
||||
|
Reference in New Issue
Block a user