2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_MOVE_DELETER, 1
|
|
|
|
|
2017-11-10 02:21:31 +01:00
|
|
|
LilycoveCity_MoveDeletersHouse_MapScripts:: @ 821EA0A
|
|
|
|
.byte 0
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_MoveDeleter:: @ 821EA0B
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2020-06-21 07:56:57 +02:00
|
|
|
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
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget:: @ 821EA3B
|
|
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_WhichMonShouldForget, MSGBOX_DEFAULT
|
|
|
|
special ChoosePartyMon
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8004, 255
|
2019-10-18 01:22:03 +02:00
|
|
|
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
|
|
|
|
special IsSelectedMonEgg
|
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_EggCantForgetMoves
|
|
|
|
special GetNumMovesSelectedMonHas
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2019-10-18 01:22:03 +02:00
|
|
|
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove
|
|
|
|
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
|
2019-10-18 01:22:03 +02:00
|
|
|
compare VAR_0x8005, MAX_MON_MOVES
|
|
|
|
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget
|
|
|
|
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
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_TryForgetMove:: @ 821EAB0
|
|
|
|
special IsLastMonThatKnowsSurf
|
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_LastMonWithSurf
|
|
|
|
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
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove:: @ 821EACF
|
|
|
|
special BufferMoveDeleterNicknameAndMove
|
|
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_MonOnlyKnowsOneMove, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_EggCantForgetMoves:: @ 821EADC
|
|
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_EggCantForgetMoves, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain:: @ 821EAE6
|
|
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_ComeAgain, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_LastMonWithSurf:: @ 821EAF0
|
|
|
|
special BufferMoveDeleterNicknameAndMove
|
|
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_CantForgetSurf, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_Text_ICanMakeMonForgetMove: @ 821EAFD
|
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?$"
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_Text_WhichMonShouldForget: @ 821EB65
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Which POKéMON should forget a move?$"
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_Text_WhichMoveShouldBeForgotten: @ 821EB89
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Which move should be forgotten?$"
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_Text_MonOnlyKnowsOneMove: @ 821EBA9
|
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
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_Text_MonsMoveShouldBeForgotten: @ 821EBDA
|
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?$"
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_Text_MonHasForgottenMove: @ 821EC06
|
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.$"
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_Text_ComeAgain: @ 821EC3F
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Come again if there are moves that\n"
|
|
|
|
.string "need to be forgotten.$"
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_Text_EggCantForgetMoves: @ 821EC78
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "What?\n"
|
|
|
|
.string "No EGG should know any moves.$"
|
|
|
|
|
2019-10-18 01:22:03 +02:00
|
|
|
LilycoveCity_MoveDeletersHouse_Text_CantForgetSurf: @ 821EC9C
|
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.$"
|
|
|
|
|