Document kecleon
This commit is contained in:
@@ -1,74 +1,73 @@
|
||||
Route120_EventScript_2722DB:: @ 82722DB
|
||||
Route120_EventScript_Kecleon1:: @ 82722DB
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8009, 1
|
||||
goto Route120_EventScript_272336
|
||||
goto EventScript_Kecleon
|
||||
end
|
||||
|
||||
Route120_EventScript_2722E8:: @ 82722E8
|
||||
Route120_EventScript_Kecleon2:: @ 82722E8
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8009, 2
|
||||
goto Route120_EventScript_272336
|
||||
goto EventScript_Kecleon
|
||||
end
|
||||
|
||||
Route120_EventScript_2722F5:: @ 82722F5
|
||||
Route120_EventScript_Kecleon3:: @ 82722F5
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8009, 3
|
||||
goto Route120_EventScript_272336
|
||||
goto EventScript_Kecleon
|
||||
end
|
||||
|
||||
Route120_EventScript_272302:: @ 8272302
|
||||
Route120_EventScript_Kecleon4:: @ 8272302
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8009, 4
|
||||
goto Route120_EventScript_272336
|
||||
goto EventScript_Kecleon
|
||||
end
|
||||
|
||||
Route120_EventScript_27230F:: @ 827230F
|
||||
Route120_EventScript_Kecleon5:: @ 827230F
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8009, 5
|
||||
goto Route120_EventScript_272336
|
||||
goto EventScript_Kecleon
|
||||
end
|
||||
|
||||
Route119_EventScript_27231C:: @ 827231C
|
||||
Route119_EventScript_Kecleon1:: @ 827231C
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8009, 6
|
||||
goto Route119_EventScript_272336
|
||||
goto EventScript_Kecleon
|
||||
end
|
||||
|
||||
Route119_EventScript_272329:: @ 8272329
|
||||
Route119_EventScript_Kecleon2:: @ 8272329
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8009, 7
|
||||
goto Route119_EventScript_272336
|
||||
goto EventScript_Kecleon
|
||||
end
|
||||
|
||||
Route119_EventScript_272336:: @ 8272336
|
||||
Route120_EventScript_272336:: @ 8272336
|
||||
EventScript_Kecleon:: @ 8272336
|
||||
checkitem ITEM_DEVON_SCOPE, 1
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route119_EventScript_272350
|
||||
msgbox Route119_Text_1F5D00, MSGBOX_DEFAULT
|
||||
goto_if_eq EventScript_AskUseDevonScope
|
||||
msgbox Kecleon_Text_SomethingUnseeable, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route119_EventScript_272350:: @ 8272350
|
||||
msgbox Route119_Text_1F5D23, MSGBOX_YESNO
|
||||
EventScript_AskUseDevonScope:: @ 8272350
|
||||
msgbox Kecleon_Text_WantToUseDevonScope, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq Route119_EventScript_272365
|
||||
goto_if_eq EventScript_BattleKecleon
|
||||
release
|
||||
end
|
||||
|
||||
Route119_EventScript_272365:: @ 8272365
|
||||
msgbox Route119_Text_1F5D63, MSGBOX_DEFAULT
|
||||
EventScript_BattleKecleon:: @ 8272365
|
||||
msgbox Kecleon_Text_UseDevonScopeMonAttacked, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
applymovement VAR_LAST_TALKED, Route119_Movement_2723C7
|
||||
applymovement VAR_LAST_TALKED, Movement_KecleonAppears
|
||||
waitmovement 0
|
||||
waitse
|
||||
playmoncry SPECIES_KECLEON, 2
|
||||
@@ -79,11 +78,11 @@ Route119_EventScript_272365:: @ 8272365
|
||||
dowildbattle
|
||||
clearflag FLAG_SYS_CTRL_OBJ_DELETE
|
||||
specialvar VAR_RESULT, GetBattleOutcome
|
||||
compare VAR_RESULT, 1
|
||||
compare VAR_RESULT, B_OUTCOME_WON
|
||||
goto_if_eq EventScript_RemoveKecleon
|
||||
compare VAR_RESULT, 4
|
||||
compare VAR_RESULT, B_OUTCOME_RAN
|
||||
goto_if_eq EventScript_RemoveKecleon
|
||||
compare VAR_RESULT, 5
|
||||
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
|
||||
goto_if_eq EventScript_RemoveKecleon
|
||||
release
|
||||
end
|
||||
@@ -92,9 +91,7 @@ EventScript_RemoveKecleon:: @ 82723C1
|
||||
goto Common_EventScript_RemoveStaticPokemon
|
||||
end
|
||||
|
||||
FortreeCity_Movement_2723C7: @ 82723C7
|
||||
Route119_Movement_2723C7: @ 82723C7
|
||||
Route120_Movement_2723C7: @ 82723C7
|
||||
Movement_KecleonAppears: @ 82723C7
|
||||
set_visible
|
||||
delay_4
|
||||
set_invisible
|
||||
|
||||
Reference in New Issue
Block a user