Improve mobile-related labels (#1061)

This commit is contained in:
SatoMew
2023-07-27 01:59:00 +01:00
committed by GitHub
parent c931b98a81
commit 768b3bdec1
23 changed files with 117 additions and 120 deletions

View File

@@ -12,7 +12,7 @@ CeruleanPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
CeruleanPokecenter1FSuperNerdScript:
special Mobile_DummyReturnFalse
special CheckMobileAdapterStatusSpecial
iftrue .mobile
jumptextfaceplayer CeruleanPokecenter1FSuperNerdText

View File

@@ -59,7 +59,7 @@ EcruteakPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
EcruteakPokecenter1FPokefanMScript:
special Mobile_DummyReturnFalse
special CheckMobileAdapterStatusSpecial
iftrue .mobile
jumptextfaceplayer EcruteakPokecenter1FPokefanMText

View File

@@ -339,7 +339,7 @@ ElmAfterTheftScript:
writetext ElmAfterTheftText5
promptbutton
setevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
setflag ENGINE_MAIN_MENU_MOBILE_CHOICES
setflag ENGINE_MOBILE_SYSTEM
setmapscene ROUTE_29, SCENE_ROUTE29_CATCH_TUTORIAL
clearevent EVENT_ROUTE_30_YOUNGSTER_JOEY
setevent EVENT_ROUTE_30_BATTLE

View File

@@ -47,7 +47,7 @@ TrainerGuitaristClyde:
.Script:
endifjustbattled
special Mobile_DummyReturnFalse
special CheckMobileAdapterStatusSpecial
iftrue .mobile
opentext
writetext GuitaristClydeAfterBattleText

View File

@@ -1,6 +1,6 @@
object_const_def
const GOLDENRODPOKECENTER1F_NURSE
const GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
const GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST
const GOLDENRODPOKECENTER1F_GAMEBOY_KID
const GOLDENRODPOKECENTER1F_LASS
const GOLDENRODPOKECENTER1F_POKEFAN_F
@@ -15,65 +15,65 @@ GoldenrodPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
GoldenrodPokecenter1F_GSBallSceneLeft:
setval BATTLETOWERACTION_CHECKMOBILEEVENT
setval BATTLETOWERACTION_GSBALL
special BattleTowerAction
ifequal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
ifequal GS_BALL_AVAILABLE, .gsball
end
.gsball
checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
checkevent EVENT_GOT_GS_BALL_FROM_GOLDENROD_POKEMON_CENTER
iftrue .cancel
playsound SFX_EXIT_BUILDING
moveobject GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, 0, 7
disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
moveobject GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST, 0, 7
disappear GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST
appear GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST
playmusic MUSIC_SHOW_ME_AROUND
applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistApproachPlayerAtLeftDoorwayTileMovement
applymovement GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistApproachPlayerAtLeftDoorwayTileMovement
turnobject PLAYER, UP
opentext
writetext GoldenrodPokeCenter1FLinkReceptionistPleaseAcceptGSBallText
waitbutton
verbosegiveitem GS_BALL
setevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
setevent EVENT_GOT_GS_BALL_FROM_GOLDENROD_POKEMON_CENTER
setevent EVENT_CAN_GIVE_GS_BALL_TO_KURT
writetext GoldenrodPokeCenter1FLinkReceptionistPleaseDoComeAgainText
waitbutton
closetext
applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistWalkToStairsFromLeftDoorwayTileMovement
applymovement GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistWalkToStairsFromLeftDoorwayTileMovement
special RestartMapMusic
disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
disappear GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST
playsound SFX_EXIT_BUILDING
.cancel
end
GoldenrodPokecenter1F_GSBallSceneRight:
setval BATTLETOWERACTION_CHECKMOBILEEVENT
setval BATTLETOWERACTION_GSBALL
special BattleTowerAction
ifequal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
ifequal GS_BALL_AVAILABLE, .gsball
end
.gsball
checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
checkevent EVENT_GOT_GS_BALL_FROM_GOLDENROD_POKEMON_CENTER
iftrue .cancel
playsound SFX_EXIT_BUILDING
moveobject GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, 0, 7
disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
moveobject GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST, 0, 7
disappear GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST
appear GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST
playmusic MUSIC_SHOW_ME_AROUND
applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistApproachPlayerAtRightDoorwayTileMovement
applymovement GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistApproachPlayerAtRightDoorwayTileMovement
turnobject PLAYER, UP
opentext
writetext GoldenrodPokeCenter1FLinkReceptionistPleaseAcceptGSBallText
waitbutton
verbosegiveitem GS_BALL
setevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
setevent EVENT_GOT_GS_BALL_FROM_GOLDENROD_POKEMON_CENTER
setevent EVENT_CAN_GIVE_GS_BALL_TO_KURT
writetext GoldenrodPokeCenter1FLinkReceptionistPleaseDoComeAgainText
waitbutton
closetext
applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistWalkToStairsFromRightDoorwayTileMovement
applymovement GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST, GoldenrodPokeCenter1FLinkReceptionistWalkToStairsFromRightDoorwayTileMovement
special RestartMapMusic
disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
disappear GOLDENRODPOKECENTER1F_PCC_TRADE_CORNER_RECEPTIONIST
playsound SFX_EXIT_BUILDING
.cancel
end

View File

@@ -73,7 +73,7 @@ LinkReceptionistScript_Trade:
writetext Text_TradeReceptionistIntro
yesorno
iffalse .Cancel
special Mobile_DummyReturnFalse ; always returns false
special CheckMobileAdapterStatusSpecial
iffalse .NoMobile
writetext Text_TradeReceptionistMobile
special AskMobileOrCable
@@ -175,7 +175,7 @@ LinkReceptionistScript_Battle:
writetext Text_BattleReceptionistIntro
yesorno
iffalse .Cancel
special Mobile_DummyReturnFalse ; always returns false
special CheckMobileAdapterStatusSpecial
iffalse .NoMobile
writetext Text_BattleReceptionistMobile
special AskMobileOrCable

View File

@@ -77,7 +77,7 @@ Route40Lass1Script:
jumptextfaceplayer Route40Lass1Text
Route40PokefanMScript:
special Mobile_DummyReturnFalse
special CheckMobileAdapterStatusSpecial
iftrue .mobile
jumptextfaceplayer Route40PokefanMText

View File

@@ -13,7 +13,7 @@ SaffronPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
SaffronPokecenter1FTeacherScript:
special Mobile_DummyReturnFalse
special CheckMobileAdapterStatusSpecial
iftrue .mobile
jumptextfaceplayer SaffronPokecenter1FTeacherText