pokeemerald/data/maps/LilycoveCity_MoveDeletersHouse/scripts.inc

109 lines
3.9 KiB
PHP
Raw Normal View History

.set LOCALID_MOVE_DELETER, 1
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_EventScript_MoveDeleter::
2017-11-10 02:21:31 +01:00
lockall
applymovement LOCALID_MOVE_DELETER, Common_Movement_FacePlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-10-18 01:22:03 +02:00
msgbox LilycoveCity_MoveDeletersHouse_Text_ICanMakeMonForgetMove, MSGBOX_YESNO
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-02 17:34:53 +01:00
case YES, LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget
case NO, LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget::
2019-10-18 01:22:03 +02:00
msgbox LilycoveCity_MoveDeletersHouse_Text_WhichMonShouldForget, MSGBOX_DEFAULT
special ChoosePartyMon
2017-11-10 02:21:31 +01:00
waitstate
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
2019-10-18 01:22:03 +02:00
special IsSelectedMonEgg
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_MoveDeletersHouse_EventScript_EggCantForgetMoves
2019-10-18 01:22:03 +02:00
special GetNumMovesSelectedMonHas
goto_if_eq VAR_RESULT, 1, LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove
2019-10-18 01:22:03 +02:00
msgbox LilycoveCity_MoveDeletersHouse_Text_WhichMoveShouldBeForgotten, MSGBOX_DEFAULT
2019-12-15 17:42:50 +01:00
fadescreen FADE_TO_BLACK
2019-10-18 01:22:03 +02:00
special MoveDeleterChooseMoveToForget
2019-12-15 17:42:50 +01:00
fadescreen FADE_FROM_BLACK
goto_if_eq VAR_0x8005, MAX_MON_MOVES, LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget
2019-10-18 01:22:03 +02:00
special BufferMoveDeleterNicknameAndMove
msgbox LilycoveCity_MoveDeletersHouse_Text_MonsMoveShouldBeForgotten, MSGBOX_YESNO
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-02 17:34:53 +01:00
case YES, LilycoveCity_MoveDeletersHouse_EventScript_TryForgetMove
case NO, LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_EventScript_TryForgetMove::
2019-10-18 01:22:03 +02:00
special IsLastMonThatKnowsSurf
goto_if_eq VAR_RESULT, TRUE, LilycoveCity_MoveDeletersHouse_EventScript_LastMonWithSurf
2019-10-18 01:22:03 +02:00
special MoveDeleterForgetMove
2020-08-21 00:02:00 +02:00
playfanfare MUS_MOVE_DELETED
2017-11-10 02:21:31 +01:00
waitfanfare
2019-10-18 01:22:03 +02:00
msgbox LilycoveCity_MoveDeletersHouse_Text_MonHasForgottenMove, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove::
2019-10-18 01:22:03 +02:00
special BufferMoveDeleterNicknameAndMove
msgbox LilycoveCity_MoveDeletersHouse_Text_MonOnlyKnowsOneMove, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_EventScript_EggCantForgetMoves::
2019-10-18 01:22:03 +02:00
msgbox LilycoveCity_MoveDeletersHouse_Text_EggCantForgetMoves, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain::
2019-10-18 01:22:03 +02:00
msgbox LilycoveCity_MoveDeletersHouse_Text_ComeAgain, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_EventScript_LastMonWithSurf::
2019-10-18 01:22:03 +02:00
special BufferMoveDeleterNicknameAndMove
msgbox LilycoveCity_MoveDeletersHouse_Text_CantForgetSurf, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
releaseall
end
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_Text_ICanMakeMonForgetMove:
2017-11-10 02:21:31 +01:00
.string "Uh…\n"
2018-12-07 16:41:08 +01:00
.string "Oh, yes, I'm the MOVE DELETER.\p"
2017-11-10 02:21:31 +01:00
.string "I can make POKéMON forget their moves.\p"
.string "Would you like me to do that?$"
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_Text_WhichMonShouldForget:
2017-11-10 02:21:31 +01:00
.string "Which POKéMON should forget a move?$"
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_Text_WhichMoveShouldBeForgotten:
2017-11-10 02:21:31 +01:00
.string "Which move should be forgotten?$"
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_Text_MonOnlyKnowsOneMove:
2017-11-10 02:21:31 +01:00
.string "{STR_VAR_1} knows only one move\n"
2018-12-07 16:41:08 +01:00
.string "so it can't be forgotten…$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_Text_MonsMoveShouldBeForgotten:
2018-12-07 16:41:08 +01:00
.string "Hm! {STR_VAR_1}'s {STR_VAR_2}?\n"
2017-11-10 02:21:31 +01:00
.string "That move should be forgotten?$"
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_Text_MonHasForgottenMove:
2017-11-10 02:21:31 +01:00
.string "It worked to perfection!\p"
.string "{STR_VAR_1} has forgotten\n"
.string "{STR_VAR_2} completely.$"
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_Text_ComeAgain:
2017-11-10 02:21:31 +01:00
.string "Come again if there are moves that\n"
.string "need to be forgotten.$"
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_Text_EggCantForgetMoves:
2017-11-10 02:21:31 +01:00
.string "What?\n"
.string "No EGG should know any moves.$"
2021-07-20 21:18:31 +02:00
LilycoveCity_MoveDeletersHouse_Text_CantForgetSurf:
2017-11-10 02:21:31 +01:00
.string "Hm!\p"
2018-12-07 16:41:08 +01:00
.string "Your {STR_VAR_1} doesn't seem willing\n"
2017-11-10 02:21:31 +01:00
.string "to forget SURF.$"