RoamerX 11603d8c2d 测试发现的文本问题修复
反派组织手下部分台词重新翻译
招式学习器道具说明换行调整
其他零散台词修正调整
2025-06-05 23:54:19 +08:00

131 lines
4.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

EverGrandeCity_PokemonLeague_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, EverGrandeCity_PokemonLeague_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
.byte 0
EverGrandeCity_PokemonLeague_1F_OnTransition:
setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_POKEMON_LEAGUE
setflag FLAG_LANDMARK_POKEMON_LEAGUE
call_if_unset FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_GuardsBlockDoor
end
EverGrandeCity_PokemonLeague_1F_EventScript_GuardsBlockDoor::
setobjectxyperm LOCALID_LEAGUE_GUARD_1, 9, 2
setobjectxyperm LOCALID_LEAGUE_GUARD_2, 10, 2
return
EverGrandeCity_PokemonLeague_1F_EventScript_Nurse::
setvar VAR_0x800B, LOCALID_LEAGUE_NURSE
call Common_EventScript_PkmnCenterNurse
waitmessage
waitbuttonpress
release
end
EverGrandeCity_PokemonLeague_1F_EventScript_Clerk::
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart EverGrandeCity_PokemonLeague_1F_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
EverGrandeCity_PokemonLeague_1F_Pokemart:
.2byte ITEM_ULTRA_BALL
.2byte ITEM_HYPER_POTION
.2byte ITEM_MAX_POTION
.2byte ITEM_FULL_RESTORE
.2byte ITEM_FULL_HEAL
.2byte ITEM_REVIVE
.2byte ITEM_MAX_REPEL
pokemartlistend
@ The door guards only check for FLAG_BADGE06_GET because Winonas badge is the only one that can be skipped
@ Its assumed the player has the remaining badges
EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard::
lockall
goto_if_set FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_GoForth
getplayerxy VAR_TEMP_0, VAR_TEMP_1
call_if_ge VAR_TEMP_0, 11, EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromRight
call_if_le VAR_TEMP_0, 8, EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromLeft
message EverGrandeCity_PokemonLeague_1F_Text_MustHaveAllGymBadges
waitmessage
delay 120
goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonLeague_1F_EventScript_NotAllBadges
closemessage
applymovement LOCALID_LEAGUE_GUARD_1, EverGrandeCity_PokemonLeague_1F_Movement_LeftGuardOutOfWay
applymovement LOCALID_LEAGUE_GUARD_2, EverGrandeCity_PokemonLeague_1F_Movement_RightGuardOutOfWay
waitmovement 0
delay 10
playfanfare MUS_OBTAIN_BADGE
message EverGrandeCity_PokemonLeague_1F_Text_GoForth
waitmessage
waitfanfare
closemessage
copyobjectxytoperm LOCALID_LEAGUE_GUARD_1
copyobjectxytoperm LOCALID_LEAGUE_GUARD_2
setflag FLAG_ENTERED_ELITE_FOUR
releaseall
end
EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromRight::
applymovement LOCALID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromRight
waitmovement 0
return
EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromLeft::
applymovement LOCALID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromLeft
waitmovement 0
return
EverGrandeCity_PokemonLeague_1F_EventScript_NotAllBadges::
playse SE_FAILURE
msgbox EverGrandeCity_PokemonLeague_1F_Text_HaventObtainedAllBadges, MSGBOX_DEFAULT
releaseall
end
EverGrandeCity_PokemonLeague_1F_EventScript_GoForth::
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
waitmovement 0
msgbox EverGrandeCity_PokemonLeague_1F_Text_GoForth, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromRight:
walk_down
walk_left
walk_in_place_faster_up
step_end
EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromLeft:
walk_down
walk_right
walk_in_place_faster_up
step_end
EverGrandeCity_PokemonLeague_1F_Movement_LeftGuardOutOfWay:
walk_left
walk_in_place_faster_down
step_end
EverGrandeCity_PokemonLeague_1F_Movement_RightGuardOutOfWay:
walk_right
walk_in_place_faster_down
step_end
EverGrandeCity_PokemonLeague_1F_Text_MustHaveAllGymBadges:
.string "这前面只允许得到了所有道馆徽章的\n训练家进入。\p训练家请让我们确认一下\n你是否拥有所有的道馆徽章。$"
EverGrandeCity_PokemonLeague_1F_Text_HaventObtainedAllBadges:
.string "你还没有获得所有的徽章。\p如果你的目标是宝可梦联盟\n那你必须全部集齐后再回来。$"
EverGrandeCity_PokemonLeague_1F_Text_GoForth:
.string "训练家!相信自己和你的宝可梦,\n前进吧!$"