mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-28 04:34:28 +01:00
114 lines
4.0 KiB
PHP
114 lines
4.0 KiB
PHP
.set LOCALID_MOVE_DELETER, 1
|
|
|
|
LilycoveCity_MoveDeletersHouse_MapScripts:: @ 821EA0A
|
|
.byte 0
|
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_MoveDeleter:: @ 821EA0B
|
|
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:: @ 821EA3B
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_WhichMonShouldForget, MSGBOX_DEFAULT
|
|
special ChoosePartyMon
|
|
waitstate
|
|
compare VAR_0x8004, 255
|
|
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain
|
|
special IsSelectedMonEgg
|
|
compare VAR_RESULT, TRUE
|
|
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_EggCantForgetMoves
|
|
special GetNumMovesSelectedMonHas
|
|
compare VAR_RESULT, 1
|
|
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_WhichMoveShouldBeForgotten, MSGBOX_DEFAULT
|
|
fadescreen FADE_TO_BLACK
|
|
special MoveDeleterChooseMoveToForget
|
|
fadescreen FADE_FROM_BLACK
|
|
compare VAR_0x8005, MAX_MON_MOVES
|
|
goto_if_eq 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:: @ 821EAB0
|
|
special IsLastMonThatKnowsSurf
|
|
compare VAR_RESULT, TRUE
|
|
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_LastMonWithSurf
|
|
special MoveDeleterForgetMove
|
|
playfanfare MUS_MOVE_DELETED
|
|
waitfanfare
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_MonHasForgottenMove, MSGBOX_DEFAULT
|
|
releaseall
|
|
end
|
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove:: @ 821EACF
|
|
special BufferMoveDeleterNicknameAndMove
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_MonOnlyKnowsOneMove, MSGBOX_DEFAULT
|
|
releaseall
|
|
end
|
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_EggCantForgetMoves:: @ 821EADC
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_EggCantForgetMoves, MSGBOX_DEFAULT
|
|
releaseall
|
|
end
|
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_ComeAgain:: @ 821EAE6
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_ComeAgain, MSGBOX_DEFAULT
|
|
releaseall
|
|
end
|
|
|
|
LilycoveCity_MoveDeletersHouse_EventScript_LastMonWithSurf:: @ 821EAF0
|
|
special BufferMoveDeleterNicknameAndMove
|
|
msgbox LilycoveCity_MoveDeletersHouse_Text_CantForgetSurf, MSGBOX_DEFAULT
|
|
releaseall
|
|
end
|
|
|
|
LilycoveCity_MoveDeletersHouse_Text_ICanMakeMonForgetMove: @ 821EAFD
|
|
.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: @ 821EB65
|
|
.string "Which POKéMON should forget a move?$"
|
|
|
|
LilycoveCity_MoveDeletersHouse_Text_WhichMoveShouldBeForgotten: @ 821EB89
|
|
.string "Which move should be forgotten?$"
|
|
|
|
LilycoveCity_MoveDeletersHouse_Text_MonOnlyKnowsOneMove: @ 821EBA9
|
|
.string "{STR_VAR_1} knows only one move\n"
|
|
.string "so it can't be forgotten…$"
|
|
|
|
LilycoveCity_MoveDeletersHouse_Text_MonsMoveShouldBeForgotten: @ 821EBDA
|
|
.string "Hm! {STR_VAR_1}'s {STR_VAR_2}?\n"
|
|
.string "That move should be forgotten?$"
|
|
|
|
LilycoveCity_MoveDeletersHouse_Text_MonHasForgottenMove: @ 821EC06
|
|
.string "It worked to perfection!\p"
|
|
.string "{STR_VAR_1} has forgotten\n"
|
|
.string "{STR_VAR_2} completely.$"
|
|
|
|
LilycoveCity_MoveDeletersHouse_Text_ComeAgain: @ 821EC3F
|
|
.string "Come again if there are moves that\n"
|
|
.string "need to be forgotten.$"
|
|
|
|
LilycoveCity_MoveDeletersHouse_Text_EggCantForgetMoves: @ 821EC78
|
|
.string "What?\n"
|
|
.string "No EGG should know any moves.$"
|
|
|
|
LilycoveCity_MoveDeletersHouse_Text_CantForgetSurf: @ 821EC9C
|
|
.string "Hm!\p"
|
|
.string "Your {STR_VAR_1} doesn't seem willing\n"
|
|
.string "to forget SURF.$"
|
|
|