ref: f964d04a873769c0aa1d27a7dd032170f55853fd
parent: be28a0ff4eb4ba04dcbd0fc025b3a68af535a0a1
author: Rangi <[email protected]>
date: Sun Feb 25 15:05:37 EST 2018
* loadmenuheader -> loadmenu (ead103d) * objectface -> turnobject (c834bda)
--- a/docs/event_commands.md
+++ b/docs/event_commands.md
@@ -163,7 +163,7 @@
## `$4E`: `yesorno`
-## `$4F`: <code>loadmenuheader <i>menu_header</i></code>
+## `$4F`: <code>loadmenu <i>menu_header</i></code>
## `$50`: `closewindow`
@@ -241,7 +241,7 @@
## `$75`: <code>showemote <i>emote_id</i>, <i>object_id</i>, <i>length</i></code>
-## `$76`: <code>objectface <i>object_id</i>, <i>facing</i></code>
+## `$76`: <code>turnobject <i>object_id</i>, <i>facing</i></code>
## `$77`: <code>follownotexact <i>object2</i>, <i>object1</i></code>
--- a/engine/events/std_scripts.asm
+++ b/engine/events/std_scripts.asm
@@ -109,7 +109,7 @@
farwritetext NurseTakePokemonText
pause 20
special StubbedTrainerRankings_Healings
- objectface LAST_TALKED, LEFT
+ turnobject LAST_TALKED, LEFT
pause 10
special HealParty
playmusic MUSIC_NONE
@@ -117,7 +117,7 @@
special HealMachineAnim
pause 30
special RestartMapMusic
- objectface LAST_TALKED, DOWN
+ turnobject LAST_TALKED, DOWN
pause 10
checkphonecall ; elm already called about pokerus
@@ -134,9 +134,9 @@
.done
farwritetext NurseGoodbyeText
- objectface LAST_TALKED, UP
+ turnobject LAST_TALKED, UP
pause 10
- objectface LAST_TALKED, DOWN
+ turnobject LAST_TALKED, DOWN
pause 10
waitbutton
@@ -1811,7 +1811,7 @@
.loop ; 0xbcde4
special DisplayMoneyAndCoinBalance
- loadmenuheader .MenuHeader
+ loadmenu .MenuHeader
verticalmenu
closewindow
ifequal 1, .Buy50
--- a/engine/scripting.asm
+++ b/engine/scripting.asm
@@ -144,7 +144,7 @@
dw Script_writetext ; 4c
dw Script_repeattext ; 4d
dw Script_yesorno ; 4e
- dw Script_loadmenuheader ; 4f
+ dw Script_loadmenu ; 4f
dw Script_closewindow ; 50
dw Script_jumptextfaceplayer ; 51
if _CRYSTAL
@@ -185,7 +185,7 @@
dw Script_writeobjectxy ; 73
dw Script_loademote ; 74
dw Script_showemote ; 75
- dw Script_objectface ; 76
+ dw Script_turnobject ; 76
dw Script_follownotexact ; 77
dw Script_earthquake ; 78
dw Script_changemap ; 79
@@ -432,7 +432,7 @@
ld [wScriptVar], a
ret
-Script_loadmenuheader:
+Script_loadmenu:
; script command 0x4f
; parameters: menu_header
@@ -1052,7 +1052,7 @@
call ApplyObjectFacing
ret
-Script_objectface:
+Script_turnobject:
; script command 0x76
; parameters: object_id, facing
--- a/macros/legacy.asm
+++ b/macros/legacy.asm
@@ -25,14 +25,17 @@
domaptrigger EQUS "setmapscene"
checktriggers EQUS "checkscene"
dotrigger EQUS "setscene"
+
faceperson EQUS "faceobject"
moveperson EQUS "moveobject"
writepersonxy EQUS "writeobjectxy"
-spriteface EQUS "objectface"
+spriteface EQUS "turnobject"
+objectface EQUS "turnobject"
RAM2MEM EQUS "vartomem"
loadfont EQUS "opentext"
-loadmenudata EQUS "loadmenuheader"
+loadmenudata EQUS "loadmenu"
+loadmenuheader EQUS "loadmenu"
writebackup EQUS "closewindow"
interpretmenu EQUS "_2dmenu"
interpretmenu2 EQUS "verticalmenu"
--- a/macros/scripts/battle_anims.asm
+++ b/macros/scripts/battle_anims.asm
@@ -1,6 +1,6 @@
anim_wait: MACRO
if \1 >= $d0
- flip out
+ fail "anim_wait argument must be less than $d0."
endc
db \1
ENDM
--- a/macros/scripts/events.asm
+++ b/macros/scripts/events.asm
@@ -516,9 +516,9 @@
db yesorno_command
ENDM
- enum loadmenuheader_command ; $4f
-loadmenuheader: MACRO
- db loadmenuheader_command
+ enum loadmenu_command ; $4f
+loadmenu: MACRO
+ db loadmenu_command
dw \1 ; menu_header
ENDM
@@ -747,9 +747,9 @@
db \3 ; time
ENDM
- enum objectface_command ; $76
-objectface: MACRO
- db objectface_command
+ enum turnobject_command ; $76
+turnobject: MACRO
+ db turnobject_command
db \1 ; object id
db \2 ; facing
ENDM
--- a/maps/AzaleaTown.asm
+++ b/maps/AzaleaTown.asm
@@ -36,23 +36,23 @@
AzaleaTownRivalBattleScene1:
moveobject AZALEATOWN_SILVER, 11, 11
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
appear AZALEATOWN_SILVER
applymovement AZALEATOWN_SILVER, AzaleaTownRivalBattleApproachMovement1
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
jump AzaleaTownRivalBattleScript
AzaleaTownRivalBattleScene2:
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
appear AZALEATOWN_SILVER
applymovement AZALEATOWN_SILVER, AzaleaTownRivalBattleApproachMovement2
- objectface PLAYER, UP
+ turnobject PLAYER, UP
AzaleaTownRivalBattleScript:
playmusic MUSIC_RIVAL_ENCOUNTER
opentext
@@ -96,7 +96,7 @@
writetext AzaleaTownRivalAfterText
waitbutton
closetext
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement AZALEATOWN_SILVER, AzaleaTownRivalBattleExitMovement
playsound SFX_EXIT_BUILDING
disappear AZALEATOWN_SILVER
@@ -158,13 +158,13 @@
opentext
writetext AzaleaTownKurtText1
buttonsound
- objectface AZALEATOWN_KURT_OUTSIDE, RIGHT
+ turnobject AZALEATOWN_KURT_OUTSIDE, RIGHT
writetext AzaleaTownKurtText2
buttonsound
writetext AzaleaTownKurtText3
waitbutton
verbosegiveitem GS_BALL
- objectface AZALEATOWN_KURT_OUTSIDE, LEFT
+ turnobject AZALEATOWN_KURT_OUTSIDE, LEFT
setflag ENGINE_FOREST_IS_RESTLESS
clearevent EVENT_ILEX_FOREST_LASS
setevent EVENT_ROUTE_34_ILEX_FOREST_GATE_LASS
@@ -177,7 +177,7 @@
opentext
writetext AzaleaTownKurtText3
waitbutton
- objectface AZALEATOWN_KURT_OUTSIDE, LEFT
+ turnobject AZALEATOWN_KURT_OUTSIDE, LEFT
closetext
end
--- a/maps/BattleTower1F.asm
+++ b/maps/BattleTower1F.asm
@@ -176,10 +176,10 @@
ifequal $a, Script_Menu_ChallengeExplanationCancel
ifnotequal $0, Script_MobileError
writetext Text_ReceivedAListOfLeadersOnTheHonorRoll
- objectface BATTLETOWER1F_RECEPTIONIST, LEFT
+ turnobject BATTLETOWER1F_RECEPTIONIST, LEFT
writetext Text_PleaseConfirmOnThisMonitor
waitbutton
- objectface BATTLETOWER1F_RECEPTIONIST, DOWN
+ turnobject BATTLETOWER1F_RECEPTIONIST, DOWN
closetext
end
@@ -250,7 +250,7 @@
writetext Text_BattleTowerYoungster
waitbutton
closetext
- objectface BATTLETOWER1F_YOUNGSTER, RIGHT
+ turnobject BATTLETOWER1F_YOUNGSTER, RIGHT
end
CooltrainerFScript_0x9e568:
--- a/maps/BurnedTower1F.asm
+++ b/maps/BurnedTower1F.asm
@@ -36,7 +36,7 @@
return
.MeetEusine:
- objectface BURNEDTOWER1F_EUSINE, DOWN
+ turnobject BURNEDTOWER1F_EUSINE, DOWN
showemote EMOTE_SHOCK, BURNEDTOWER1F_EUSINE, 15
applymovement BURNEDTOWER1F_EUSINE, BurnedTower1FEusineMovement
opentext
@@ -51,7 +51,7 @@
showemote EMOTE_SHOCK, BURNEDTOWER1F_SILVER, 15
special FadeOutMusic
pause 15
- objectface BURNEDTOWER1F_SILVER, RIGHT
+ turnobject BURNEDTOWER1F_SILVER, RIGHT
pause 15
applymovement PLAYER, BurnedTowerMovement_PlayerWalksToSilver
applymovement BURNEDTOWER1F_SILVER, BurnedTowerMovement_SilverWalksToPlayer
--- a/maps/BurnedTowerB1F.asm
+++ b/maps/BurnedTowerB1F.asm
@@ -34,19 +34,19 @@
playmusic MUSIC_NONE
pause 30
appear BURNEDTOWERB1F_RAIKOU1
- objectface PLAYER, UP
+ turnobject PLAYER, UP
pause 5
disappear BURNEDTOWERB1F_RAIKOU2
pause 15
cry RAIKOU
appear BURNEDTOWERB1F_ENTEI1
- objectface PLAYER, UP
+ turnobject PLAYER, UP
pause 5
disappear BURNEDTOWERB1F_ENTEI2
pause 15
cry ENTEI
appear BURNEDTOWERB1F_SUICUNE1
- objectface PLAYER, UP
+ turnobject PLAYER, UP
pause 5
disappear BURNEDTOWERB1F_SUICUNE2
pause 15
@@ -53,29 +53,29 @@
cry SUICUNE
pause 15
playsound SFX_WARP_FROM
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement BURNEDTOWERB1F_RAIKOU1, BurnedTowerRaikouMovement
disappear BURNEDTOWERB1F_RAIKOU1
waitsfx
playsound SFX_WARP_FROM
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
applymovement BURNEDTOWERB1F_ENTEI1, BurnedTowerEnteiMovement
disappear BURNEDTOWERB1F_ENTEI1
waitsfx
pause 15
playsound SFX_WARP_FROM
- objectface PLAYER, UP
+ turnobject PLAYER, UP
applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement1
playsound SFX_WARP_FROM
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement2
- objectface PLAYER, UP
+ turnobject PLAYER, UP
pause 20
cry SUICUNE
pause 30
playsound SFX_WARP_FROM
applymovement BURNEDTOWERB1F_SUICUNE1, BurnedTowerSuicuneMovement3
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
disappear BURNEDTOWERB1F_SUICUNE1
waitsfx
special RestartMapMusic
--- a/maps/CeladonCafe.asm
+++ b/maps/CeladonCafe.asm
@@ -28,7 +28,7 @@
writetext Fisher1Text_Concentration
waitbutton
closetext
- objectface CELADONCAFE_FISHER1, LEFT
+ turnobject CELADONCAFE_FISHER1, LEFT
end
CeladonCafeFisher2:
@@ -41,7 +41,7 @@
writetext Fisher2Text_Quantity
waitbutton
closetext
- objectface CELADONCAFE_FISHER2, RIGHT
+ turnobject CELADONCAFE_FISHER2, RIGHT
end
CeladonCafeFisher3:
@@ -54,7 +54,7 @@
writetext Fisher3Text_GoldenrodIsBest
waitbutton
closetext
- objectface CELADONCAFE_FISHER3, RIGHT
+ turnobject CELADONCAFE_FISHER3, RIGHT
end
CeladonCafeTeacher:
@@ -69,7 +69,7 @@
writetext TeacherText_NoCoinCase
waitbutton
closetext
- objectface CELADONCAFE_TEACHER, LEFT
+ turnobject CELADONCAFE_TEACHER, LEFT
end
.HasCoinCase:
@@ -77,12 +77,12 @@
writetext TeacherText_KeepEating
waitbutton
closetext
- objectface CELADONCAFE_TEACHER, RIGHT
+ turnobject CELADONCAFE_TEACHER, RIGHT
opentext
writetext TeacherText_MoreChef
waitbutton
closetext
- objectface CELADONCAFE_TEACHER, LEFT
+ turnobject CELADONCAFE_TEACHER, LEFT
end
EatathonContestPoster:
--- a/maps/CeladonDeptStore3F.asm
+++ b/maps/CeladonDeptStore3F.asm
@@ -26,7 +26,7 @@
writetext CeladonDeptStore3FGameboyKid1Text
waitbutton
closetext
- objectface CELADONDEPTSTORE3F_GAMEBOY_KID1, DOWN
+ turnobject CELADONDEPTSTORE3F_GAMEBOY_KID1, DOWN
end
CeladonDeptStore3FGameboyKid2Script:
@@ -35,7 +35,7 @@
writetext CeladonDeptStore3FGameboyKid2Text
waitbutton
closetext
- objectface CELADONDEPTSTORE3F_GAMEBOY_KID2, DOWN
+ turnobject CELADONDEPTSTORE3F_GAMEBOY_KID2, DOWN
end
CeladonDeptStore3FSuperNerdScript:
--- a/maps/CeladonDeptStore6F.asm
+++ b/maps/CeladonDeptStore6F.asm
@@ -23,7 +23,7 @@
writetext CeladonVendingText
.Start:
special PlaceMoneyTopRight
- loadmenuheader .MenuHeader
+ loadmenu .MenuHeader
verticalmenu
closewindow
ifequal 1, .FreshWater
--- a/maps/CeladonGameCorner.asm
+++ b/maps/CeladonGameCorner.asm
@@ -26,7 +26,7 @@
writetext CeladonGameCornerPokefanMText
waitbutton
closetext
- objectface CELADONGAMECORNER_POKEFAN_M, LEFT
+ turnobject CELADONGAMECORNER_POKEFAN_M, LEFT
end
CeladonGameCornerTeacherScript:
@@ -35,7 +35,7 @@
writetext CeladonGameCornerTeacherText
waitbutton
closetext
- objectface CELADONGAMECORNER_TEACHER, RIGHT
+ turnobject CELADONGAMECORNER_TEACHER, RIGHT
end
CeladonGameCornerFishingGuruScript:
@@ -44,7 +44,7 @@
writetext CeladonGameCornerFishingGuruText
waitbutton
closetext
- objectface CELADONGAMECORNER_FISHING_GURU, RIGHT
+ turnobject CELADONGAMECORNER_FISHING_GURU, RIGHT
end
CeladonGameCornerFisherScript:
@@ -66,7 +66,7 @@
writetext CeladonGameCornerFisherText2
waitbutton
closetext
- objectface LAST_TALKED, LEFT
+ turnobject LAST_TALKED, LEFT
end
.GiveCoins:
@@ -80,7 +80,7 @@
writetext CeladonGameCornerFisherNoCoinCaseText
waitbutton
closetext
- objectface LAST_TALKED, LEFT
+ turnobject LAST_TALKED, LEFT
end
.FullCoinCase:
@@ -87,7 +87,7 @@
writetext CeladonGameCornerFisherFullCoinCaseText
waitbutton
closetext
- objectface LAST_TALKED, LEFT
+ turnobject LAST_TALKED, LEFT
end
CeladonGymGuyScript:
@@ -99,7 +99,7 @@
writetext CeladonGameCornerGrampsText
waitbutton
closetext
- objectface CELADONGAMECORNER_GRAMPS, LEFT
+ turnobject CELADONGAMECORNER_GRAMPS, LEFT
end
CeladonGameCornerPoster1Script:
--- a/maps/CeladonGameCornerPrizeRoom.asm
+++ b/maps/CeladonGameCornerPrizeRoom.asm
@@ -23,7 +23,7 @@
writetext CeladonPrizeRoom_AskWhichPrizeText
CeladonPrizeRoom_tmcounterloop:
special DisplayCoinCaseBalance
- loadmenuheader CeladonPrizeRoom_TMMenuHeader
+ loadmenu CeladonPrizeRoom_TMMenuHeader
verticalmenu
closewindow
ifequal 1, .doubleteam
@@ -124,7 +124,7 @@
.loop
writetext CeladonPrizeRoom_AskWhichPrizeText
special DisplayCoinCaseBalance
- loadmenuheader .MenuHeader
+ loadmenu .MenuHeader
verticalmenu
closewindow
ifequal 1, .pikachu
--- a/maps/CeruleanCity.asm
+++ b/maps/CeruleanCity.asm
@@ -49,7 +49,7 @@
writetext CeruleanCityCooltrainerFText1
waitbutton
closetext
- objectface CERULEANCITY_COOLTRAINER_F, LEFT
+ turnobject CERULEANCITY_COOLTRAINER_F, LEFT
opentext
writetext CeruleanCityCooltrainerFText2
waitbutton
@@ -113,7 +113,7 @@
playsound SFX_TRANSACTION
waitsfx
showemote EMOTE_SHOCK, CERULEANCITY_YOUNGSTER, 15
- objectface CERULEANCITY_YOUNGSTER, LEFT
+ turnobject CERULEANCITY_YOUNGSTER, LEFT
opentext
writetext CeruleanCityYoungsterText2
waitbutton
--- a/maps/CeruleanGym.asm
+++ b/maps/CeruleanGym.asm
@@ -52,7 +52,7 @@
waitsfx
special RestartMapMusic
pause 15
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
pause 15
end
--- a/maps/CherrygroveCity.asm
+++ b/maps/CherrygroveCity.asm
@@ -42,28 +42,28 @@
waitbutton
closetext
applymovement CHERRYGROVECITY_GRAMPS, GuideGentMovement2
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext GuideGentMartText
waitbutton
closetext
applymovement CHERRYGROVECITY_GRAMPS, GuideGentMovement3
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext GuideGentRoute30Text
waitbutton
closetext
applymovement CHERRYGROVECITY_GRAMPS, GuideGentMovement4
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
opentext
writetext GuideGentSeaText
waitbutton
closetext
applymovement CHERRYGROVECITY_GRAMPS, GuideGentMovement5
- objectface PLAYER, UP
+ turnobject PLAYER, UP
pause 60
- objectface CHERRYGROVECITY_GRAMPS, LEFT
- objectface PLAYER, RIGHT
+ turnobject CHERRYGROVECITY_GRAMPS, LEFT
+ turnobject PLAYER, RIGHT
opentext
writetext GuideGentGiftText
buttonsound
@@ -77,7 +77,7 @@
closetext
stopfollow
special RestartMapMusic
- objectface PLAYER, UP
+ turnobject PLAYER, UP
applymovement CHERRYGROVECITY_GRAMPS, GuideGentMovement6
playsound SFX_ENTER_DOOR
disappear CHERRYGROVECITY_GRAMPS
@@ -101,13 +101,13 @@
CherrygroveSilverSceneSouth:
moveobject CHERRYGROVECITY_SILVER, 39, 7
CherrygroveSilverSceneNorth:
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
appear CHERRYGROVECITY_SILVER
applymovement CHERRYGROVECITY_SILVER, CherrygroveCity_RivalWalksToYou
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
playmusic MUSIC_RIVAL_ENCOUNTER
opentext
writetext UnknownText_0x19c4e2
@@ -166,7 +166,7 @@
.FinishRival:
playsound SFX_TACKLE
applymovement PLAYER, CherrygroveCity_RivalPushesYouOutOfTheWay
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement CHERRYGROVECITY_SILVER, CherrygroveCity_RivalExitsStageLeft
disappear CHERRYGROVECITY_SILVER
setscene SCENE_CHERRYGROVECITY_NOTHING
--- a/maps/CianwoodCity.asm
+++ b/maps/CianwoodCity.asm
@@ -36,12 +36,12 @@
return
CianwoodCitySuicuneAndEusine:
- objectface PLAYER, UP
+ turnobject PLAYER, UP
showemote EMOTE_SHOCK, PLAYER, 15
pause 15
playsound SFX_WARP_FROM
applymovement CIANWOODCITY_SUICUNE, MovementData_0x1a00da
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
pause 15
playsound SFX_WARP_FROM
applymovement CIANWOODCITY_SUICUNE, MovementData_0x1a00e0
--- a/maps/CianwoodGym.asm
+++ b/maps/CianwoodGym.asm
@@ -22,7 +22,7 @@
writetext ChuckIntroText1
waitbutton
closetext
- objectface CIANWOODGYM_CHUCK, RIGHT
+ turnobject CIANWOODGYM_CHUCK, RIGHT
opentext
writetext ChuckIntroText2
waitbutton
--- a/maps/DragonShrine.asm
+++ b/maps/DragonShrine.asm
@@ -28,7 +28,7 @@
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
writetext DragonShrineQuestion1Text
buttonsound
- loadmenuheader DragonShrineQuestion1_MenuHeader
+ loadmenu DragonShrineQuestion1_MenuHeader
verticalmenu
closewindow
ifequal 1, .RightAnswer
@@ -40,7 +40,7 @@
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_3
writetext DragonShrineQuestion2Text
buttonsound
- loadmenuheader DragonShrineQuestion2_MenuHeader
+ loadmenu DragonShrineQuestion2_MenuHeader
verticalmenu
closewindow
ifequal 1, .RightAnswer
@@ -50,7 +50,7 @@
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_4
writetext DragonShrineQuestion3Text
buttonsound
- loadmenuheader DragonShrineQuestion3_MenuHeader
+ loadmenu DragonShrineQuestion3_MenuHeader
verticalmenu
closewindow
ifequal 1, .WrongAnswer
@@ -60,7 +60,7 @@
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_5
writetext DragonShrineQuestion4Text
buttonsound
- loadmenuheader DragonShrineQuestion4_MenuHeader
+ loadmenu DragonShrineQuestion4_MenuHeader
verticalmenu
closewindow
ifequal 1, .RightAnswer
@@ -70,7 +70,7 @@
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_6
writetext DragonShrineQuestion5Text
buttonsound
- loadmenuheader DragonShrineQuestion5_MenuHeader
+ loadmenu DragonShrineQuestion5_MenuHeader
verticalmenu
closewindow
ifequal 1, .WrongAnswer
@@ -91,12 +91,12 @@
iftrue .Question2
.WrongAnswer:
closetext
- objectface DRAGONSHRINE_ELDER1, LEFT
+ turnobject DRAGONSHRINE_ELDER1, LEFT
opentext
writetext DragonShrineWrongAnswerText1
waitbutton
closetext
- objectface DRAGONSHRINE_ELDER1, DOWN
+ turnobject DRAGONSHRINE_ELDER1, DOWN
opentext
writetext DragonShrineWrongAnswerText2
waitbutton
@@ -122,12 +122,12 @@
playmusic MUSIC_CLAIR
appear DRAGONSHRINE_CLAIR
waitsfx
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
pause 30
applymovement DRAGONSHRINE_CLAIR, DragonShrineClairWalkInMovement
- objectface DRAGONSHRINE_CLAIR, RIGHT
- objectface PLAYER, LEFT
- objectface DRAGONSHRINE_ELDER1, LEFT
+ turnobject DRAGONSHRINE_CLAIR, RIGHT
+ turnobject PLAYER, LEFT
+ turnobject DRAGONSHRINE_ELDER1, LEFT
opentext
writetext DragonShrineClairYouPassedText
waitbutton
@@ -144,7 +144,7 @@
waitbutton
closetext
applymovement DRAGONSHRINE_ELDER1, DragonShrineElderWalkToClairMovement
- objectface DRAGONSHRINE_CLAIR, UP
+ turnobject DRAGONSHRINE_CLAIR, UP
opentext
writetext DragonShrineMustIInformLanceText
waitbutton
@@ -171,9 +171,9 @@
waitbutton
closetext
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2ce
- objectface DRAGONSHRINE_CLAIR, UP
+ turnobject DRAGONSHRINE_CLAIR, UP
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2d1
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext DragonShrineElderScoldsClairText
waitbutton
--- a/maps/DragonsDenB1F.asm
+++ b/maps/DragonsDenB1F.asm
@@ -47,7 +47,7 @@
pause 30
closetext
showemote EMOTE_SHOCK, PLAYER, 15
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
playmusic MUSIC_CLAIR
applymovement DRAGONSDENB1F_CLAIR, MovementDragonsDen_ClairWalksToYou
opentext
--- a/maps/EarlsPokemonAcademy.asm
+++ b/maps/EarlsPokemonAcademy.asm
@@ -45,7 +45,7 @@
writetext EarlsPokemonAcademyGameboyKid1Text
waitbutton
closetext
- objectface EARLSPOKEMONACADEMY_GAMEBOY_KID1, DOWN
+ turnobject EARLSPOKEMONACADEMY_GAMEBOY_KID1, DOWN
end
EarlsPokemonAcademyGameboyKid2Script:
@@ -54,7 +54,7 @@
writetext EarlsPokemonAcademyGameboyKid2Text
waitbutton
closetext
- objectface EARLSPOKEMONACADEMY_GAMEBOY_KID2, DOWN
+ turnobject EARLSPOKEMONACADEMY_GAMEBOY_KID2, DOWN
end
EarlsPokemonAcademyYoungster2Script:
@@ -64,7 +64,7 @@
opentext
writetext AcademyBlackboardText
.Loop:
- loadmenuheader .BlackboardMenuHeader
+ loadmenu .BlackboardMenuHeader
_2dmenu
closewindow
ifequal 1, .Poison
--- a/maps/EcruteakPokecenter1F.asm
+++ b/maps/EcruteakPokecenter1F.asm
@@ -26,15 +26,15 @@
waitsfx
applymovement ECRUTEAKPOKECENTER1F_BILL, EcruteakPokecenter1FBillMovement1
applymovement PLAYER, EcruteakPokecenter1FPlayerMovement1
- objectface ECRUTEAKPOKECENTER1F_NURSE, UP
+ turnobject ECRUTEAKPOKECENTER1F_NURSE, UP
pause 10
- objectface ECRUTEAKPOKECENTER1F_NURSE, DOWN
+ turnobject ECRUTEAKPOKECENTER1F_NURSE, DOWN
pause 30
- objectface ECRUTEAKPOKECENTER1F_NURSE, UP
+ turnobject ECRUTEAKPOKECENTER1F_NURSE, UP
pause 10
- objectface ECRUTEAKPOKECENTER1F_NURSE, DOWN
+ turnobject ECRUTEAKPOKECENTER1F_NURSE, DOWN
pause 20
- objectface ECRUTEAKPOKECENTER1F_BILL, DOWN
+ turnobject ECRUTEAKPOKECENTER1F_BILL, DOWN
pause 10
opentext
writetext EcruteakPokecenter1F_BillText1
@@ -45,7 +45,7 @@
writetext EcruteakPokecenter1F_BillText2
waitbutton
closetext
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
applymovement ECRUTEAKPOKECENTER1F_BILL, EcruteakPokecenter1FBillMovement2
playsound SFX_EXIT_BUILDING
disappear ECRUTEAKPOKECENTER1F_BILL
--- a/maps/ElmsLab.asm
+++ b/maps/ElmsLab.asm
@@ -47,7 +47,7 @@
.WalkUpToElm:
applymovement PLAYER, ElmsLab_WalkUpToElmMovement
showemote EMOTE_SHOCK, ELMSLAB_ELM, 15
- objectface ELMSLAB_ELM, RIGHT
+ turnobject ELMSLAB_ELM, RIGHT
opentext
writetext ElmText_Intro
.MustSayYes:
@@ -65,20 +65,20 @@
playsound SFX_GLASS_TING
pause 30
showemote EMOTE_SHOCK, ELMSLAB_ELM, 10
- objectface ELMSLAB_ELM, DOWN
+ turnobject ELMSLAB_ELM, DOWN
opentext
writetext ElmText_GotAnEmail
waitbutton
closetext
opentext
- objectface ELMSLAB_ELM, RIGHT
+ turnobject ELMSLAB_ELM, RIGHT
writetext ElmText_MissionFromMrPokemon
waitbutton
closetext
applymovement ELMSLAB_ELM, ElmsLab_ElmToDefaultPositionMovement1
- objectface PLAYER, UP
+ turnobject PLAYER, UP
applymovement ELMSLAB_ELM, ElmsLab_ElmToDefaultPositionMovement2
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
opentext
writetext ElmText_ChooseAPokemon
waitbutton
@@ -147,7 +147,7 @@
end
LabTryToLeaveScript:
- objectface ELMSLAB_ELM, DOWN
+ turnobject ELMSLAB_ELM, DOWN
opentext
writetext LabWhereGoingText
waitbutton
@@ -158,7 +158,7 @@
CyndaquilPokeBallScript:
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
iftrue LookAtElmPokeBallScript
- objectface ELMSLAB_ELM, DOWN
+ turnobject ELMSLAB_ELM, DOWN
refreshscreen
pokepic CYNDAQUIL
cry CYNDAQUIL
@@ -188,7 +188,7 @@
TotodilePokeBallScript:
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
iftrue LookAtElmPokeBallScript
- objectface ELMSLAB_ELM, DOWN
+ turnobject ELMSLAB_ELM, DOWN
refreshscreen
pokepic TOTODILE
cry TOTODILE
@@ -216,7 +216,7 @@
ChikoritaPokeBallScript:
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
iftrue LookAtElmPokeBallScript
- objectface ELMSLAB_ELM, DOWN
+ turnobject ELMSLAB_ELM, DOWN
refreshscreen
pokepic CHIKORITA
cry CHIKORITA
@@ -248,7 +248,7 @@
end
ElmDirectionsScript:
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext ElmDirectionsText1
waitbutton
@@ -260,12 +260,12 @@
waitsfx
waitbutton
closetext
- objectface ELMSLAB_ELM, LEFT
+ turnobject ELMSLAB_ELM, LEFT
opentext
writetext ElmDirectionsText2
waitbutton
closetext
- objectface ELMSLAB_ELM, DOWN
+ turnobject ELMSLAB_ELM, DOWN
opentext
writetext ElmDirectionsText3
waitbutton
@@ -457,7 +457,7 @@
AideScript_WalkPotion1:
applymovement ELMSLAB_ELMS_AIDE, AideWalksRight1
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
scall AideScript_GivePotion
applymovement ELMSLAB_ELMS_AIDE, AideWalksLeft1
end
@@ -464,7 +464,7 @@
AideScript_WalkPotion2:
applymovement ELMSLAB_ELMS_AIDE, AideWalksRight2
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
scall AideScript_GivePotion
applymovement ELMSLAB_ELMS_AIDE, AideWalksLeft2
end
@@ -482,7 +482,7 @@
AideScript_WalkBalls1:
applymovement ELMSLAB_ELMS_AIDE, AideWalksRight1
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
scall AideScript_GiveYouBalls
applymovement ELMSLAB_ELMS_AIDE, AideWalksLeft1
end
@@ -489,7 +489,7 @@
AideScript_WalkBalls2:
applymovement ELMSLAB_ELMS_AIDE, AideWalksRight2
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
scall AideScript_GiveYouBalls
applymovement ELMSLAB_ELMS_AIDE, AideWalksLeft2
end
@@ -550,7 +550,7 @@
MeetCopScript:
applymovement PLAYER, MeetCopScript_WalkUp
CopScript:
- objectface ELMSLAB_OFFICER, LEFT
+ turnobject ELMSLAB_OFFICER, LEFT
opentext
writetext ElmsLabOfficerText1
buttonsound
--- a/maps/FastShip1F.asm
+++ b/maps/FastShip1F.asm
@@ -130,7 +130,7 @@
writetext UnknownText_0x75412
waitbutton
closetext
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
applymovement FASTSHIP1F_GENTLEMAN, MovementData_0x75222
disappear FASTSHIP1F_GENTLEMAN
setscene SCENE_DEFAULT
--- a/maps/FastShipCabins_SE_SSE_CaptainsCabin.asm
+++ b/maps/FastShipCabins_SE_SSE_CaptainsCabin.asm
@@ -36,7 +36,7 @@
end
SSAquaGranddaughterBefore:
- objectface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, RIGHT
+ turnobject FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, RIGHT
opentext
writetext SSAquaGranddaughterCaptainPlayWithMeText
waitbutton
@@ -52,13 +52,13 @@
applymovement PLAYER, MovementData_0x76004
moveobject FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, 3, 19
appear FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1
- objectface PLAYER, UP
- objectface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, UP
+ turnobject PLAYER, UP
+ turnobject FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, UP
special FadeInQuickly
- objectface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, DOWN
+ turnobject FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, DOWN
showemote EMOTE_SHOCK, FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, 15
applymovement FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, MovementData_0x7600c
- objectface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, RIGHT
+ turnobject FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, RIGHT
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .PlayerIsFemale
opentext
@@ -73,7 +73,7 @@
waitbutton
closetext
.cont:
- objectface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, DOWN
+ turnobject FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, DOWN
applymovement FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, MovementData_0x76010
opentext
writetext SSAquaEntertainedGranddaughterText
--- a/maps/GoldenrodCity.asm
+++ b/maps/GoldenrodCity.asm
@@ -63,7 +63,7 @@
checkcoins 4000
ifequal HAVE_LESS, .NotEnoughMoney
writetext UnknownText_0x1990ce
- loadmenuheader .MoveMenuHeader
+ loadmenu .MoveMenuHeader
verticalmenu
closewindow
ifequal MOVETUTOR_FLAMETHROWER, .Flamethrower
@@ -210,7 +210,7 @@
writetext GoldenrodCityRocketScoutText2
waitbutton
closetext
- objectface GOLDENRODCITY_ROCKETSCOUT, UP
+ turnobject GOLDENRODCITY_ROCKETSCOUT, UP
end
GoldenrodCityRocket1Script:
--- a/maps/GoldenrodDeptStore4F.asm
+++ b/maps/GoldenrodDeptStore4F.asm
@@ -28,7 +28,7 @@
writetext UnknownText_0x55f74
waitbutton
closetext
- objectface GOLDENRODDEPTSTORE4F_GAMEBOY_KID, DOWN
+ turnobject GOLDENRODDEPTSTORE4F_GAMEBOY_KID, DOWN
end
GoldenrodDeptStore4FDirectory:
--- a/maps/GoldenrodDeptStore6F.asm
+++ b/maps/GoldenrodDeptStore6F.asm
@@ -12,7 +12,7 @@
writetext GoldenrodVendingText
.Start:
special PlaceMoneyTopRight
- loadmenuheader .MenuHeader
+ loadmenu .MenuHeader
verticalmenu
closewindow
ifequal 1, .FreshWater
--- a/maps/GoldenrodDeptStoreRoof.asm
+++ b/maps/GoldenrodDeptStoreRoof.asm
@@ -52,7 +52,7 @@
writetext UnknownText_0x567d2
waitbutton
closetext
- objectface GOLDENRODDEPTSTOREROOF_FISHER, UP
+ turnobject GOLDENRODDEPTSTOREROOF_FISHER, UP
end
GoldenrodDeptStoreRoofTwinScript:
@@ -63,12 +63,12 @@
writetext UnknownText_0x56867
waitbutton
closetext
- objectface GOLDENRODDEPTSTOREROOF_SUPER_NERD, UP
+ turnobject GOLDENRODDEPTSTOREROOF_SUPER_NERD, UP
opentext
writetext UnknownText_0x56871
waitbutton
closetext
- objectface GOLDENRODDEPTSTOREROOF_SUPER_NERD, RIGHT
+ turnobject GOLDENRODDEPTSTOREROOF_SUPER_NERD, RIGHT
end
GoldenrodDeptStoreRoofPokefanMScript:
--- a/maps/GoldenrodFlowerShop.asm
+++ b/maps/GoldenrodFlowerShop.asm
@@ -30,7 +30,7 @@
end
.Lalala:
- objectface GOLDENRODFLOWERSHOP_TEACHER, LEFT
+ turnobject GOLDENRODFLOWERSHOP_TEACHER, LEFT
opentext
writetext UnknownText_0x5552e
waitbutton
--- a/maps/GoldenrodGameCorner.asm
+++ b/maps/GoldenrodGameCorner.asm
@@ -43,7 +43,7 @@
writetext GoldenrodGameCornerPokefanM3Text
waitbutton
closetext
- objectface GOLDENRODGAMECORNER_POKEFAN_M3, RIGHT
+ turnobject GOLDENRODGAMECORNER_POKEFAN_M3, RIGHT
end
GoldenrodGmeCornerCoinVendorScript:
@@ -59,7 +59,7 @@
writetext GoldenrodGameCornerPrizeVendorWhichPrizeText
GoldenrodGmeCornerTMVendor_LoopScript: ; 056c36
special DisplayCoinCaseBalance
- loadmenuheader GoldenrodGameCornerTMVendorMenuHeader
+ loadmenu GoldenrodGameCornerTMVendorMenuHeader
verticalmenu
closewindow
ifequal 1, .Thunder
@@ -160,7 +160,7 @@
.loop
writetext GoldenrodGameCornerPrizeVendorWhichPrizeText
special DisplayCoinCaseBalance
- loadmenuheader .MenuHeader
+ loadmenu .MenuHeader
verticalmenu
closewindow
ifequal 1, .abra
@@ -242,7 +242,7 @@
writetext GoldenrodGameCornerPharmacistText
waitbutton
closetext
- objectface LAST_TALKED, LEFT
+ turnobject LAST_TALKED, LEFT
end
GoldenrodGameCornerPokefanM1Script:
@@ -251,7 +251,7 @@
writetext GoldenrodGameCornerPokefanM1Text
waitbutton
closetext
- objectface GOLDENRODGAMECORNER_POKEFAN_M1, RIGHT
+ turnobject GOLDENRODGAMECORNER_POKEFAN_M1, RIGHT
end
GoldenrodGameCornerCooltrainerMScript:
@@ -260,7 +260,7 @@
writetext GoldenrodGameCornerCooltrainerMText
waitbutton
closetext
- objectface GOLDENRODGAMECORNER_COOLTRAINER_M, LEFT
+ turnobject GOLDENRODGAMECORNER_COOLTRAINER_M, LEFT
end
GoldenrodGameCornerPokefanFScript:
@@ -269,7 +269,7 @@
writetext GoldenrodGameCornerPokefanFText
waitbutton
closetext
- objectface GOLDENRODGAMECORNER_POKEFAN_F, RIGHT
+ turnobject GOLDENRODGAMECORNER_POKEFAN_F, RIGHT
end
GoldenrodGameCornerCooltrainerFScript:
@@ -281,7 +281,7 @@
writetext GoldenrodGameCornerGentlemanText
waitbutton
closetext
- objectface GOLDENRODGAMECORNER_GENTLEMAN, RIGHT
+ turnobject GOLDENRODGAMECORNER_GENTLEMAN, RIGHT
end
GoldenrodGameCornerPokefanM2Script:
--- a/maps/GoldenrodGym.asm
+++ b/maps/GoldenrodGym.asm
@@ -104,7 +104,7 @@
WhitneyCriesScript:
showemote EMOTE_SHOCK, GOLDENRODGYM_LASS2, 15
applymovement GOLDENRODGYM_LASS2, BridgetWalksUpMovement
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
opentext
writetext BridgetWhitneyCriesText
waitbutton
--- a/maps/GoldenrodPokecenter1F.asm
+++ b/maps/GoldenrodPokecenter1F.asm
@@ -28,7 +28,7 @@
appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
playmusic MUSIC_SHOW_ME_AROUND
applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, MovementData_0x6105a
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext UnknownText_0x622f0
waitbutton
@@ -60,7 +60,7 @@
appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
playmusic MUSIC_SHOW_ME_AROUND
applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, MovementData_0x61065
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext UnknownText_0x622f0
waitbutton
--- a/maps/GoldenrodUndergroundSwitchRoomEntrances.asm
+++ b/maps/GoldenrodUndergroundSwitchRoomEntrances.asm
@@ -117,7 +117,7 @@
jumptextfaceplayer GoldenrodUndergroundSwitchRoomEntrances_TeacherText
UndergroundSilverScene1:
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
@@ -125,7 +125,7 @@
appear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
waitsfx
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverApproachMovement1
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
scall UndergroundSilverBattleScript
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverRetreatMovement1
playsound SFX_EXIT_BUILDING
@@ -136,7 +136,7 @@
end
UndergroundSilverScene2:
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
@@ -144,7 +144,7 @@
appear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
waitsfx
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverApproachMovement2
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
scall UndergroundSilverBattleScript
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverRetreatMovement2
playsound SFX_EXIT_BUILDING
--- a/maps/HallOfFame.asm
+++ b/maps/HallOfFame.asm
@@ -19,12 +19,12 @@
follow HALLOFFAME_LANCE, PLAYER
applymovement HALLOFFAME_LANCE, HallOfFame_WalkUpWithLance
stopfollow
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
opentext
writetext HallOfFame_LanceText
waitbutton
closetext
- objectface HALLOFFAME_LANCE, UP
+ turnobject HALLOFFAME_LANCE, UP
applymovement PLAYER, HallOfFame_SlowlyApproachMachine
setscene SCENE_FINISHED
pause 15
--- a/maps/IlexForest.asm
+++ b/maps/IlexForest.asm
@@ -460,7 +460,7 @@
special FadeOutMusic
applymovement PLAYER, MovementData_0x6ef58
pause 30
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
pause 20
clearflag ENGINE_FOREST_IS_RESTLESS
special CelebiShrineEvent
--- a/maps/IndigoPlateauPokecenter1F.asm
+++ b/maps/IndigoPlateauPokecenter1F.asm
@@ -54,13 +54,13 @@
ifequal SATURDAY, PlateauRivalScriptDone
moveobject INDIGOPLATEAUPOKECENTER1F_SILVER, 17, 9
appear INDIGOPLATEAUPOKECENTER1F_SILVER
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
applymovement INDIGOPLATEAUPOKECENTER1F_SILVER, PlateauRivalMovement1
playmusic MUSIC_RIVAL_ENCOUNTER
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
jump PlateauRivalBattleCommon
PlateauRivalBattle2:
@@ -75,13 +75,13 @@
ifequal FRIDAY, PlateauRivalScriptDone
ifequal SATURDAY, PlateauRivalScriptDone
appear INDIGOPLATEAUPOKECENTER1F_SILVER
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
applymovement INDIGOPLATEAUPOKECENTER1F_SILVER, PlateauRivalMovement2
playmusic MUSIC_RIVAL_ENCOUNTER
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
PlateauRivalBattleCommon:
opentext
writetext PlateauRivalText1
@@ -125,7 +125,7 @@
writetext PlateauRivalText2
waitbutton
closetext
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
applymovement INDIGOPLATEAUPOKECENTER1F_SILVER, PlateauRivalLeavesMovement
disappear INDIGOPLATEAUPOKECENTER1F_SILVER
setscene SCENE_DEFAULT
--- a/maps/KurtsHouse.asm
+++ b/maps/KurtsHouse.asm
@@ -46,7 +46,7 @@
setevent EVENT_AZALEA_TOWN_SLOWPOKETAIL_ROCKET
checkcode VAR_FACING
ifequal UP, .RunAround
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
playsound SFX_FLY
applymovement KURTSHOUSE_KURT1, MovementData_0x18e466
playsound SFX_EXIT_BUILDING
@@ -56,7 +56,7 @@
end
.RunAround:
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
playsound SFX_FLY
applymovement KURTSHOUSE_KURT1, MovementData_0x18e46c
playsound SFX_EXIT_BUILDING
@@ -294,13 +294,13 @@
showemote EMOTE_SHOCK, KURTSHOUSE_KURT1, 30
checkcode VAR_FACING
ifequal UP, .GSBallRunAround
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
playsound SFX_FLY
applymovement KURTSHOUSE_KURT1, MovementData_0x18e466
jump .KurtHasLeftTheBuilding
.GSBallRunAround:
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
playsound SFX_FLY
applymovement KURTSHOUSE_KURT1, MovementData_0x18e46c
.KurtHasLeftTheBuilding:
@@ -323,7 +323,7 @@
writetext UnknownText_0x18e7d8
waitbutton
closetext
- objectface KURTSHOUSE_KURT2, UP
+ turnobject KURTSHOUSE_KURT2, UP
end
Script_FirstTimeBuggingKurt:
@@ -330,7 +330,7 @@
writetext UnknownText_0x18e863
waitbutton
closetext
- objectface KURTSHOUSE_KURT2, UP
+ turnobject KURTSHOUSE_KURT2, UP
setevent EVENT_BUGGING_KURT_TOO_MUCH
end
@@ -337,7 +337,7 @@
KurtScript_ImCheckingItNow:
writetext UnknownText_0x18e934
waitbutton
- objectface KURTSHOUSE_KURT2, UP
+ turnobject KURTSHOUSE_KURT2, UP
writetext UnknownText_0x18e949
waitbutton
closetext
@@ -393,7 +393,7 @@
writetext KurtsGranddaughterHelpText
waitbutton
closetext
- objectface KURTSHOUSE_TWIN2, RIGHT
+ turnobject KURTSHOUSE_TWIN2, RIGHT
end
.GSBall:
@@ -400,7 +400,7 @@
writetext KurtsGranddaughterGSBallText
waitbutton
closetext
- objectface KURTSHOUSE_TWIN2, RIGHT
+ turnobject KURTSHOUSE_TWIN2, RIGHT
end
KurtsGranddaughterFunScript:
--- a/maps/LancesRoom.asm
+++ b/maps/LancesRoom.asm
@@ -50,7 +50,7 @@
special FadeOutMusic
applymovement PLAYER, MovementData_ApproachLanceFromRight
LanceScript_0x180e7b:
- objectface LANCESROOM_LANCE, LEFT
+ turnobject LANCESROOM_LANCE, LEFT
opentext
writetext LanceBattleIntroText
waitbutton
@@ -74,9 +74,9 @@
musicfadeout MUSIC_BEAUTY_ENCOUNTER, 16
pause 30
showemote EMOTE_SHOCK, LANCESROOM_LANCE, 15
- objectface LANCESROOM_LANCE, DOWN
+ turnobject LANCESROOM_LANCE, DOWN
pause 10
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
appear LANCESROOM_MARY
applymovement LANCESROOM_MARY, LancesRoomMovementData_MaryRushesIn
opentext
@@ -88,27 +88,27 @@
follow LANCESROOM_MARY, LANCESROOM_OAK
applymovement LANCESROOM_MARY, LancesRoomMovementData_MaryYieldsToOak
stopfollow
- objectface LANCESROOM_OAK, UP
- objectface LANCESROOM_LANCE, LEFT
+ turnobject LANCESROOM_OAK, UP
+ turnobject LANCESROOM_LANCE, LEFT
opentext
writetext UnknownText_0x18121b
waitbutton
closetext
applymovement LANCESROOM_MARY, LancesRoomMovementData_MaryInterviewChampion
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
opentext
writetext UnknownText_0x18134b
waitbutton
closetext
applymovement LANCESROOM_LANCE, LancesRoomMovementData_LancePositionsSelfToGuidePlayerAway
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext UnknownText_0x18137b
waitbutton
closetext
follow LANCESROOM_LANCE, PLAYER
- objectface LANCESROOM_MARY, UP
- objectface LANCESROOM_OAK, UP
+ turnobject LANCESROOM_MARY, UP
+ turnobject LANCESROOM_OAK, UP
applymovement LANCESROOM_LANCE, LancesRoomMovementData_LanceLeadsPlayerToHallOfFame
stopfollow
playsound SFX_EXIT_BUILDING
--- a/maps/MahoganyMart1F.asm
+++ b/maps/MahoganyMart1F.asm
@@ -91,7 +91,7 @@
reloadmappart
closetext
setevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
- objectface MAHOGANYMART1F_LANCE, LEFT
+ turnobject MAHOGANYMART1F_LANCE, LEFT
opentext
writetext UnknownText_0x6c5ba
waitbutton
--- a/maps/MahoganyTown.asm
+++ b/maps/MahoganyTown.asm
@@ -28,7 +28,7 @@
follow PLAYER, MAHOGANYTOWN_POKEFAN_M
applymovement PLAYER, MovementData_0x1900a7
stopfollow
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
scall UnknownScript_0x19002f
applymovement MAHOGANYTOWN_POKEFAN_M, MovementData_0x1900ad
end
--- a/maps/MountMoon.asm
+++ b/maps/MountMoon.asm
@@ -16,7 +16,7 @@
end
.RivalBattle:
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
--- a/maps/MountMoonSquare.asm
+++ b/maps/MountMoonSquare.asm
@@ -34,7 +34,7 @@
applymovement PLAYER, PlayerWalksUpToDancingClefairies
pause 15
appear MOUNTMOONSQUARE_ROCK
- objectface MOUNTMOONSQUARE_FAIRY1, RIGHT
+ turnobject MOUNTMOONSQUARE_FAIRY1, RIGHT
cry CLEFAIRY
waitsfx
pause 30
@@ -54,10 +54,10 @@
follow MOUNTMOONSQUARE_FAIRY1, MOUNTMOONSQUARE_FAIRY2
applymovement MOUNTMOONSQUARE_FAIRY1, ClefairyDanceStep7
stopfollow
- objectface MOUNTMOONSQUARE_FAIRY1, DOWN
+ turnobject MOUNTMOONSQUARE_FAIRY1, DOWN
pause 10
showemote EMOTE_SHOCK, MOUNTMOONSQUARE_FAIRY1, 15
- objectface MOUNTMOONSQUARE_FAIRY1, DOWN
+ turnobject MOUNTMOONSQUARE_FAIRY1, DOWN
cry CLEFAIRY
pause 15
follow MOUNTMOONSQUARE_FAIRY1, MOUNTMOONSQUARE_FAIRY2
--- a/maps/MrPokemonsHouse.asm
+++ b/maps/MrPokemonsHouse.asm
@@ -18,7 +18,7 @@
.MrPokemonEvent:
showemote EMOTE_SHOCK, MRPOKEMONSHOUSE_GENTLEMAN, 15
- objectface MRPOKEMONSHOUSE_GENTLEMAN, DOWN
+ turnobject MRPOKEMONSHOUSE_GENTLEMAN, DOWN
opentext
writetext MrPokemonIntroText1
waitbutton
@@ -37,11 +37,11 @@
blackoutmod CHERRYGROVE_CITY
writetext MrPokemonIntroText3
buttonsound
- objectface MRPOKEMONSHOUSE_GENTLEMAN, RIGHT
+ turnobject MRPOKEMONSHOUSE_GENTLEMAN, RIGHT
writetext MrPokemonIntroText4
buttonsound
- objectface MRPOKEMONSHOUSE_GENTLEMAN, DOWN
- objectface MRPOKEMONSHOUSE_OAK, LEFT
+ turnobject MRPOKEMONSHOUSE_GENTLEMAN, DOWN
+ turnobject MRPOKEMONSHOUSE_OAK, LEFT
writetext MrPokemonIntroText5
waitbutton
closetext
@@ -84,7 +84,7 @@
MrPokemonsHouse_OakScript:
playmusic MUSIC_PROF_OAK
applymovement MRPOKEMONSHOUSE_OAK, MrPokemonsHouse_OakWalksToPlayer
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
opentext
writetext MrPokemonsHouse_OakText1
buttonsound
@@ -96,7 +96,7 @@
writetext MrPokemonsHouse_OakText2
waitbutton
closetext
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
applymovement MRPOKEMONSHOUSE_OAK, MrPokemonsHouse_OakExits
playsound SFX_EXIT_BUILDING
disappear MRPOKEMONSHOUSE_OAK
@@ -103,7 +103,7 @@
waitsfx
special RestartMapMusic
pause 15
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext MrPokemonsHouse_MrPokemonHealText
waitbutton
--- a/maps/NationalPark.asm
+++ b/maps/NationalPark.asm
@@ -66,7 +66,7 @@
writetext UnknownText_0x5c42a
waitbutton
closetext
- objectface NATIONALPARK_GAMEBOY_KID, DOWN
+ turnobject NATIONALPARK_GAMEBOY_KID, DOWN
end
TrainerSchoolboyJack1:
--- a/maps/NewBarkTown.asm
+++ b/maps/NewBarkTown.asm
@@ -24,12 +24,12 @@
NewBarkTown_TeacherStopsYouScene1:
playmusic MUSIC_MOM
- objectface NEWBARKTOWN_TEACHER, LEFT
+ turnobject NEWBARKTOWN_TEACHER, LEFT
opentext
writetext Text_WaitPlayer
waitbutton
closetext
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
applymovement NEWBARKTOWN_TEACHER, Movement_TeacherRunsToYou1_NBT
opentext
writetext Text_WhatDoYouThinkYoureDoing
@@ -47,14 +47,14 @@
NewBarkTown_TeacherStopsYouScene2:
playmusic MUSIC_MOM
- objectface NEWBARKTOWN_TEACHER, LEFT
+ turnobject NEWBARKTOWN_TEACHER, LEFT
opentext
writetext Text_WaitPlayer
waitbutton
closetext
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
applymovement NEWBARKTOWN_TEACHER, Movement_TeacherRunsToYou2_NBT
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext Text_WhatDoYouThinkYoureDoing
waitbutton
@@ -109,7 +109,7 @@
writetext NewBarkTownRivalText1
waitbutton
closetext
- objectface NEWBARKTOWN_SILVER, LEFT
+ turnobject NEWBARKTOWN_SILVER, LEFT
opentext
writetext NewBarkTownRivalText2
waitbutton
@@ -118,7 +118,7 @@
applymovement PLAYER, Movement_SilverPushesYouAway_NBT
stopfollow
pause 5
- objectface NEWBARKTOWN_SILVER, DOWN
+ turnobject NEWBARKTOWN_SILVER, DOWN
pause 5
playsound SFX_TACKLE
applymovement PLAYER, Movement_SilverShovesYouOut_NBT
--- a/maps/OlivineCity.asm
+++ b/maps/OlivineCity.asm
@@ -23,7 +23,7 @@
return
UnknownScript_0x1a8833:
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
@@ -37,7 +37,7 @@
waitbutton
closetext
applymovement PLAYER, MovementData_0x1a88f4
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88db
setscene SCENE_FINISHED
disappear OLIVINECITY_OLIVINE_RIVAL
@@ -47,7 +47,7 @@
end
UnknownScript_0x1a886b:
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
@@ -61,7 +61,7 @@
waitbutton
closetext
applymovement PLAYER, MovementData_0x1a88f7
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88e8
disappear OLIVINECITY_OLIVINE_RIVAL
setscene SCENE_FINISHED
--- a/maps/OlivineLighthouse6F.asm
+++ b/maps/OlivineLighthouse6F.asm
@@ -34,9 +34,9 @@
writetext UnknownText_0x60dea
waitbutton
closetext
- objectface OLIVINELIGHTHOUSE6F_JASMINE, RIGHT
+ turnobject OLIVINELIGHTHOUSE6F_JASMINE, RIGHT
pause 15
- objectface OLIVINELIGHTHOUSE6F_MONSTER, LEFT
+ turnobject OLIVINELIGHTHOUSE6F_MONSTER, LEFT
opentext
playmusic MUSIC_HEAL
writetext UnknownText_0x60e44
@@ -52,13 +52,13 @@
writetext UnknownText_0x60f3d
waitbutton
closetext
- objectface OLIVINELIGHTHOUSE6F_MONSTER, RIGHT
+ turnobject OLIVINELIGHTHOUSE6F_MONSTER, RIGHT
pause 10
- objectface OLIVINELIGHTHOUSE6F_MONSTER, LEFT
+ turnobject OLIVINELIGHTHOUSE6F_MONSTER, LEFT
pause 10
- objectface OLIVINELIGHTHOUSE6F_MONSTER, RIGHT
+ turnobject OLIVINELIGHTHOUSE6F_MONSTER, RIGHT
pause 10
- objectface OLIVINELIGHTHOUSE6F_MONSTER, LEFT
+ turnobject OLIVINELIGHTHOUSE6F_MONSTER, LEFT
pause 10
faceplayer
opentext
@@ -88,9 +88,9 @@
writetext UnknownText_0x60edf
waitbutton
closetext
- objectface OLIVINELIGHTHOUSE6F_JASMINE, RIGHT
+ turnobject OLIVINELIGHTHOUSE6F_JASMINE, RIGHT
pause 15
- objectface OLIVINELIGHTHOUSE6F_MONSTER, LEFT
+ turnobject OLIVINELIGHTHOUSE6F_MONSTER, LEFT
opentext
writetext UnknownText_0x60ef1
waitbutton
--- a/maps/OlivinePort.asm
+++ b/maps/OlivinePort.asm
@@ -37,7 +37,7 @@
writetext UnknownText_0x74a55
waitbutton
closetext
- objectface OLIVINEPORT_SAILOR1, DOWN
+ turnobject OLIVINEPORT_SAILOR1, DOWN
pause 10
playsound SFX_EXIT_BUILDING
disappear OLIVINEPORT_SAILOR1
@@ -73,12 +73,12 @@
end
UnknownScript_0x7491f:
- objectface OLIVINEPORT_SAILOR3, RIGHT
+ turnobject OLIVINEPORT_SAILOR3, RIGHT
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue UnknownScript_0x7498b
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
iftrue UnknownScript_0x7498b
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
opentext
checkevent EVENT_FAST_SHIP_FIRST_TIME
iffalse UnknownScript_0x7494e
@@ -201,7 +201,7 @@
writetext UnknownText_0x74bf4
waitbutton
closetext
- objectface OLIVINEPORT_FISHING_GURU1, UP
+ turnobject OLIVINEPORT_FISHING_GURU1, UP
end
FishingGuruScript_0x74a0c:
@@ -210,7 +210,7 @@
writetext UnknownText_0x74c35
waitbutton
closetext
- objectface OLIVINEPORT_FISHING_GURU2, UP
+ turnobject OLIVINEPORT_FISHING_GURU2, UP
end
YoungsterScript_0x74a17:
@@ -219,7 +219,7 @@
writetext UnknownText_0x74c76
waitbutton
closetext
- objectface OLIVINEPORT_YOUNGSTER, DOWN
+ turnobject OLIVINEPORT_YOUNGSTER, DOWN
end
CooltrainerFScript_0x74a22:
@@ -228,7 +228,7 @@
writetext UnknownText_0x74ca2
waitbutton
closetext
- objectface OLIVINEPORT_COOLTRAINER_F, DOWN
+ turnobject OLIVINEPORT_COOLTRAINER_F, DOWN
end
OlivinePortHiddenProtein:
--- a/maps/PlayersHouse1F.asm
+++ b/maps/PlayersHouse1F.asm
@@ -24,7 +24,7 @@
UnknownScript_0x7a4db:
playmusic MUSIC_MOM
showemote EMOTE_SHOCK, PLAYERSHOUSE1F_MOM1, 15
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iffalse UnknownScript_0x7a4f2
applymovement PLAYERSHOUSE1F_MOM1, MovementData_0x7a5fc
@@ -96,7 +96,7 @@
UnknownScript_0x7a56b:
special RestartMapMusic
- objectface PLAYERSHOUSE1F_MOM1, LEFT
+ turnobject PLAYERSHOUSE1F_MOM1, LEFT
end
UnknownScript_0x7a572:
@@ -179,7 +179,7 @@
writetext NeighborText
waitbutton
closetext
- objectface PLAYERSHOUSE1F_POKEFAN_F, RIGHT
+ turnobject PLAYERSHOUSE1F_POKEFAN_F, RIGHT
end
TVScript:
--- a/maps/Pokecenter2F.asm
+++ b/maps/Pokecenter2F.asm
@@ -426,7 +426,7 @@
waitbutton
closetext
applymovement2 Pokecenter2FMovementData_ReceptionistLooksRight
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
opentext
writetext Text_ChangeTheLook
waitbutton
@@ -533,7 +533,7 @@
closetext
checkcode VAR_FACING
ifnotequal UP, .FemaleChangeApperance
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
.FemaleChangeApperance:
opentext
writetext Text_ChangeTheLook
--- a/maps/PokecomCenterAdminRoomMobile.asm
+++ b/maps/PokecomCenterAdminRoomMobile.asm
@@ -23,7 +23,7 @@
waitbutton
UnknownScript_0x625df:
reloadmappart
- loadmenuheader MenuHeader_0x62602
+ loadmenu MenuHeader_0x62602
verticalmenu
closewindow
ifequal 1, UnknownScript_0x625f0
@@ -65,7 +65,7 @@
waitbutton
UnknownScript_0x62629:
reloadmappart
- loadmenuheader MenuHeader_0x6264c
+ loadmenu MenuHeader_0x6264c
verticalmenu
closewindow
ifequal 1, UnknownScript_0x6263a
--- a/maps/PowerPlant.asm
+++ b/maps/PowerPlant.asm
@@ -26,19 +26,19 @@
waitsfx
pause 30
applymovement POWERPLANT_OFFICER1, MovementData_0x188ed5
- objectface POWERPLANT_GYM_GUY1, DOWN
- objectface POWERPLANT_GYM_GUY2, DOWN
+ turnobject POWERPLANT_GYM_GUY1, DOWN
+ turnobject POWERPLANT_GYM_GUY2, DOWN
opentext
writetext UnknownText_0x188f22
waitbutton
closetext
- objectface POWERPLANT_OFFICER1, LEFT
- objectface PLAYER, RIGHT
+ turnobject POWERPLANT_OFFICER1, LEFT
+ turnobject PLAYER, RIGHT
opentext
writetext UnknownText_0x188f7f
waitbutton
closetext
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
applymovement POWERPLANT_OFFICER1, MovementData_0x188eda
setscene SCENE_POWERPLANT_NOTHING
end
--- a/maps/RadioTower2F.asm
+++ b/maps/RadioTower2F.asm
@@ -120,17 +120,17 @@
writetext UnknownText_0x5de84
waitbutton
closetext
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
checkcode VAR_FACING
ifnotequal RIGHT, UnknownScript_0x5d7be
applymovement PLAYER, MovementData_0x5d921
UnknownScript_0x5d7be:
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
opentext
writetext UnknownText_0x5dedd
waitbutton
closetext
- objectface RADIOTOWER2F_BUENA, DOWN
+ turnobject RADIOTOWER2F_BUENA, DOWN
refreshscreen
special BuenasPassword
closetext
@@ -146,7 +146,7 @@
playsound SFX_TRANSACTION
setflag ENGINE_BUENAS_PASSWORD_2
pause 20
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
opentext
writetext UnknownText_0x5e054
waitbutton
@@ -172,7 +172,7 @@
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
iftrue UnknownScript_0x5d8cc
UnknownScript_0x5d81a:
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
end
UnknownScript_0x5d81e:
@@ -179,7 +179,7 @@
writetext UnknownText_0x5df29
waitbutton
closetext
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
special FadeOutMusic
pause 20
special RestartMapMusic
@@ -194,7 +194,7 @@
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
iftrue UnknownScript_0x5d8cc
UnknownScript_0x5d83f:
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
pause 10
end
@@ -204,13 +204,13 @@
writetext UnknownText_0x5e01c
waitbutton
closetext
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
pause 20
opentext
writetext UnknownText_0x5e054
waitbutton
closetext
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
special FadeOutMusic
pause 20
special RestartMapMusic
@@ -231,7 +231,7 @@
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
iftrue UnknownScript_0x5d8cc
UnknownScript_0x5d87b:
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
end
UnknownScript_0x5d87f:
@@ -243,7 +243,7 @@
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
iftrue UnknownScript_0x5d8cc
UnknownScript_0x5d88f:
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
end
UnknownScript_0x5d893:
@@ -261,9 +261,9 @@
checkcellnum PHONE_BUENA
iftrue UnknownScript_0x5d8fe
pause 20
- objectface RADIOTOWER2F_BUENA, DOWN
+ turnobject RADIOTOWER2F_BUENA, DOWN
pause 15
- objectface PLAYER, UP
+ turnobject PLAYER, UP
pause 15
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
iftrue UnknownScript_0x5d8cc
@@ -288,7 +288,7 @@
writetext UnknownText_0x5e310
waitbutton
closetext
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
addcellnum PHONE_BUENA
end
@@ -296,7 +296,7 @@
writetext UnknownText_0x5e33c
waitbutton
closetext
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
end
UnknownScript_0x5d8f6:
@@ -303,7 +303,7 @@
writetext UnknownText_0x5e35e
waitbutton
closetext
- objectface RADIOTOWER2F_BUENA, RIGHT
+ turnobject RADIOTOWER2F_BUENA, RIGHT
UnknownScript_0x5d8fe:
end
--- a/maps/RadioTower5F.asm
+++ b/maps/RadioTower5F.asm
@@ -23,7 +23,7 @@
end
FakeDirectorScript:
- objectface RADIOTOWER5F_DIRECTOR, UP
+ turnobject RADIOTOWER5F_DIRECTOR, UP
showemote EMOTE_SHOCK, RADIOTOWER5F_DIRECTOR, 15
opentext
writetext FakeDirectorTextBefore1
@@ -79,7 +79,7 @@
RadioTower5FRocketBossScene:
applymovement PLAYER, MovementData_0x60125
playmusic MUSIC_ROCKET_ENCOUNTER
- objectface RADIOTOWER5F_ROCKET, RIGHT
+ turnobject RADIOTOWER5F_ROCKET, RIGHT
opentext
writetext RadioTower5FRocketBossBeforeText
waitbutton
@@ -116,7 +116,7 @@
moveobject RADIOTOWER5F_DIRECTOR, 12, 0
appear RADIOTOWER5F_DIRECTOR
applymovement RADIOTOWER5F_DIRECTOR, RadioTower5FDirectorWalksIn
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
opentext
writetext RadioTower5FDirectorThankYouText
buttonsound
--- a/maps/Route16Gate.asm
+++ b/maps/Route16Gate.asm
@@ -20,7 +20,7 @@
UnknownScript_0x733f3:
showemote EMOTE_SHOCK, ROUTE16GATE_OFFICER, 15
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext UnknownText_0x73496
waitbutton
--- a/maps/Route17Route18Gate.asm
+++ b/maps/Route17Route18Gate.asm
@@ -20,7 +20,7 @@
UnknownScript_0x73617:
showemote EMOTE_SHOCK, ROUTE17ROUTE18GATE_OFFICER, 15
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext UnknownText_0x7364d
waitbutton
--- a/maps/Route25.asm
+++ b/maps/Route25.asm
@@ -28,12 +28,12 @@
showemote EMOTE_HEART, ROUTE25_MISTY, 15
pause 30
showemote EMOTE_SHOCK, ROUTE25_COOLTRAINER_M1, 10
- objectface ROUTE25_MISTY, DOWN
+ turnobject ROUTE25_MISTY, DOWN
applymovement ROUTE25_COOLTRAINER_M1, MovementData_0x19efe8
disappear ROUTE25_COOLTRAINER_M1
pause 15
playmusic MUSIC_BEAUTY_ENCOUNTER
- objectface ROUTE25_MISTY, UP
+ turnobject ROUTE25_MISTY, UP
pause 10
applymovement ROUTE25_MISTY, MovementData_0x19efed
opentext
@@ -40,9 +40,9 @@
writetext Route25MistyDateText
waitbutton
closetext
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
applymovement ROUTE25_MISTY, MovementData_0x19effa
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement ROUTE25_MISTY, MovementData_0x19f000
disappear ROUTE25_MISTY
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
@@ -54,12 +54,12 @@
showemote EMOTE_HEART, ROUTE25_MISTY, 15
pause 30
showemote EMOTE_SHOCK, ROUTE25_COOLTRAINER_M1, 10
- objectface ROUTE25_MISTY, DOWN
+ turnobject ROUTE25_MISTY, DOWN
applymovement ROUTE25_COOLTRAINER_M1, MovementData_0x19efea
disappear ROUTE25_COOLTRAINER_M1
pause 15
playmusic MUSIC_BEAUTY_ENCOUNTER
- objectface ROUTE25_MISTY, UP
+ turnobject ROUTE25_MISTY, UP
pause 10
applymovement ROUTE25_MISTY, MovementData_0x19eff4
opentext
@@ -66,9 +66,9 @@
writetext Route25MistyDateText
waitbutton
closetext
- objectface PLAYER, UP
+ turnobject PLAYER, UP
applymovement ROUTE25_MISTY, MovementData_0x19effd
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement ROUTE25_MISTY, MovementData_0x19f000
disappear ROUTE25_MISTY
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
--- a/maps/Route27.asm
+++ b/maps/Route27.asm
@@ -23,17 +23,17 @@
end
UnknownScript_0x1a0873:
- objectface ROUTE27_FISHER, LEFT
+ turnobject ROUTE27_FISHER, LEFT
showemote EMOTE_SHOCK, ROUTE27_FISHER, 15
applymovement ROUTE27_FISHER, MovementData_0x1a0a66
jump UnknownScript_0x1a088c
UnknownScript_0x1a0881:
- objectface ROUTE27_FISHER, LEFT
+ turnobject ROUTE27_FISHER, LEFT
showemote EMOTE_SHOCK, ROUTE27_FISHER, 15
applymovement ROUTE27_FISHER, MovementData_0x1a0a69
UnknownScript_0x1a088c:
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
opentext
writetext Route27FisherHeyText
buttonsound
--- a/maps/Route29.asm
+++ b/maps/Route29.asm
@@ -37,10 +37,10 @@
return
Route29Tutorial1:
- objectface ROUTE29_COOLTRAINER_M1, UP
+ turnobject ROUTE29_COOLTRAINER_M1, UP
showemote EMOTE_SHOCK, ROUTE29_COOLTRAINER_M1, 15
applymovement ROUTE29_COOLTRAINER_M1, DudeMovementData1a
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
setevent EVENT_DUDE_TALKED_TO_YOU
opentext
writetext CatchingTutorialIntroText
@@ -52,7 +52,7 @@
stopfollow
loadwildmon RATTATA, 5
catchtutorial BATTLETYPE_TUTORIAL
- objectface ROUTE29_COOLTRAINER_M1, UP
+ turnobject ROUTE29_COOLTRAINER_M1, UP
opentext
writetext CatchingTutorialDebriefText
waitbutton
@@ -62,10 +62,10 @@
end
Route29Tutorial2:
- objectface ROUTE29_COOLTRAINER_M1, UP
+ turnobject ROUTE29_COOLTRAINER_M1, UP
showemote EMOTE_SHOCK, ROUTE29_COOLTRAINER_M1, 15
applymovement ROUTE29_COOLTRAINER_M1, DudeMovementData2a
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
setevent EVENT_DUDE_TALKED_TO_YOU
opentext
writetext CatchingTutorialIntroText
@@ -77,7 +77,7 @@
stopfollow
loadwildmon RATTATA, 5
catchtutorial BATTLETYPE_TUTORIAL
- objectface ROUTE29_COOLTRAINER_M1, UP
+ turnobject ROUTE29_COOLTRAINER_M1, UP
opentext
writetext CatchingTutorialDebriefText
waitbutton
--- a/maps/Route30.asm
+++ b/maps/Route30.asm
@@ -29,7 +29,7 @@
faceplayer
writetext Text_ThisIsABigBattle
waitbutton
- objectface ROUTE30_YOUNGSTER1, UP
+ turnobject ROUTE30_YOUNGSTER1, UP
closetext
playsound SFX_TACKLE
applymovement ROUTE30_MONSTER1, Route30_MikeysRattataAttacksMovement
--- a/maps/Route32.asm
+++ b/maps/Route32.asm
@@ -85,8 +85,8 @@
end
Route32CooltrainerMStopsYouScene:
- objectface ROUTE32_COOLTRAINER_M, LEFT
- objectface PLAYER, RIGHT
+ turnobject ROUTE32_COOLTRAINER_M, LEFT
+ turnobject PLAYER, RIGHT
opentext
writetext Route32CooltrainerMText_WhatsTheHurry
waitbutton
@@ -94,7 +94,7 @@
follow PLAYER, ROUTE32_COOLTRAINER_M
applymovement PLAYER, Movement_Route32CooltrainerMPushesYouBackToViolet
stopfollow
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
scall Route32CooltrainerMContinueScene
applymovement ROUTE32_COOLTRAINER_M, Movement_Route32CooltrainerMReset1
applymovement ROUTE32_COOLTRAINER_M, Movement_Route32CooltrainerMReset2
@@ -118,8 +118,8 @@
end
Route32WannaBuyASlowpokeTailScript:
- objectface ROUTE32_FISHER4, DOWN
- objectface PLAYER, UP
+ turnobject ROUTE32_FISHER4, DOWN
+ turnobject PLAYER, UP
jump _OfferToSellSlowpokeTail
SlowpokeTailSalesmanScript:
--- a/maps/Route34IlexForestGate.asm
+++ b/maps/Route34IlexForestGate.asm
@@ -26,12 +26,12 @@
checkevent EVENT_FOREST_IS_RESTLESS
iffalse UnknownScript_0x62d62
showemote EMOTE_SHOCK, ROUTE34ILEXFORESTGATE_TEACHER2, 20
- objectface ROUTE34ILEXFORESTGATE_TEACHER2, LEFT
- objectface PLAYER, RIGHT
+ turnobject ROUTE34ILEXFORESTGATE_TEACHER2, LEFT
+ turnobject PLAYER, RIGHT
follow PLAYER, ROUTE34ILEXFORESTGATE_TEACHER2
applymovement PLAYER, MovementData_0x62d97
stopfollow
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
opentext
writetext UnknownText_0x62e41
waitbutton
--- a/maps/Route35NationalParkGate.asm
+++ b/maps/Route35NationalParkGate.asm
@@ -53,7 +53,7 @@
.LeavingContestEarly:
applymovement PLAYER, MovementData_0x6a2e2
- objectface ROUTE35NATIONALPARKGATE_OFFICER1, RIGHT
+ turnobject ROUTE35NATIONALPARKGATE_OFFICER1, RIGHT
opentext
checkcode VAR_CONTESTMINUTES
addvar 1
--- a/maps/Route36.asm
+++ b/maps/Route36.asm
@@ -37,10 +37,10 @@
showemote EMOTE_SHOCK, PLAYER, 15
pause 15
playsound SFX_WARP_FROM
- objectface PLAYER, UP
+ turnobject PLAYER, UP
applymovement ROUTE36_SUICUNE, Route36SuicuneMovement
disappear ROUTE36_SUICUNE
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
pause 10
setscene SCENE_ROUTE36_NOTHING
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
--- a/maps/Route36NationalParkGate.asm
+++ b/maps/Route36NationalParkGate.asm
@@ -62,7 +62,7 @@
return
.LeavingContestEarly:
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
checkcode VAR_CONTESTMINUTES
addvar 1
@@ -87,7 +87,7 @@
writetext UnknownText_0x6b300
waitbutton
closetext
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
playsound SFX_EXIT_BUILDING
special FadeOutPalettes
waitsfx
@@ -170,7 +170,7 @@
closetext
setflag ENGINE_BUG_CONTEST_TIMER
special GiveParkBalls
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
playsound SFX_EXIT_BUILDING
special FadeOutPalettes
waitsfx
--- a/maps/Route39Barn.asm
+++ b/maps/Route39Barn.asm
@@ -16,7 +16,7 @@
writetext Text_MoomooIsSick
waitbutton
closetext
- objectface ROUTE39BARN_TWIN1, RIGHT
+ turnobject ROUTE39BARN_TWIN1, RIGHT
end
.FeedingMooMoo:
@@ -23,7 +23,7 @@
writetext Text_WereFeedingMoomoo
waitbutton
closetext
- objectface ROUTE39BARN_TWIN1, RIGHT
+ turnobject ROUTE39BARN_TWIN1, RIGHT
end
TwinScript_0x9cc90:
@@ -34,7 +34,7 @@
writetext Text_MoomooIsSick
waitbutton
closetext
- objectface ROUTE39BARN_TWIN2, LEFT
+ turnobject ROUTE39BARN_TWIN2, LEFT
end
.FeedingMooMoo:
@@ -41,7 +41,7 @@
writetext Text_WereFeedingMoomoo
waitbutton
closetext
- objectface ROUTE39BARN_TWIN2, LEFT
+ turnobject ROUTE39BARN_TWIN2, LEFT
end
MooMoo:
--- a/maps/Route43Gate.asm
+++ b/maps/Route43Gate.asm
@@ -42,7 +42,7 @@
applymovement PLAYER, PlayerStepsIn
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET2, 15
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_BlocksYouSouth
- objectface ROUTE43GATE_ROCKET1, UP
+ turnobject ROUTE43GATE_ROCKET1, UP
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET1, 15
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_BlocksYouSouth
opentext
@@ -74,7 +74,7 @@
RocketScript_Northbound:
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET1, 15
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_BlocksYouNorth
- objectface ROUTE43GATE_ROCKET2, DOWN
+ turnobject ROUTE43GATE_ROCKET2, DOWN
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET2, 15
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_BlocksYouNorth
opentext
--- a/maps/RuinsOfAlphKabutoChamber.asm
+++ b/maps/RuinsOfAlphKabutoChamber.asm
@@ -95,7 +95,7 @@
writetext UnknownText_0x588f5
waitbutton
closetext
- objectface RUINSOFALPHKABUTOCHAMBER_SCIENTIST, UP
+ turnobject RUINSOFALPHKABUTOCHAMBER_SCIENTIST, UP
end
UnknownScript_0x587c9:
--- a/maps/RuinsOfAlphOutside.asm
+++ b/maps/RuinsOfAlphOutside.asm
@@ -42,13 +42,13 @@
return
RuinsOfAlphOutsideScientistScene1:
- objectface RUINSOFALPHOUTSIDE_SCIENTIST, UP
- objectface PLAYER, DOWN
+ turnobject RUINSOFALPHOUTSIDE_SCIENTIST, UP
+ turnobject PLAYER, DOWN
jump UnknownScript_0x58044
RuinsOfAlphOutsideScientistScene2:
- objectface RUINSOFALPHOUTSIDE_SCIENTIST, LEFT
- objectface PLAYER, RIGHT
+ turnobject RUINSOFALPHOUTSIDE_SCIENTIST, LEFT
+ turnobject PLAYER, RIGHT
jump UnknownScript_0x58044
ScientistScript_0x58043:
@@ -96,7 +96,7 @@
writetext UnknownText_0x5848e
waitbutton
closetext
- objectface RUINSOFALPHOUTSIDE_YOUNGSTER3, UP
+ turnobject RUINSOFALPHOUTSIDE_YOUNGSTER3, UP
end
TrainerPsychicNathan:
--- a/maps/RuinsOfAlphResearchCenter.asm
+++ b/maps/RuinsOfAlphResearchCenter.asm
@@ -38,7 +38,7 @@
pause 30
playsound SFX_TRANSACTION
pause 30
- objectface RUINSOFALPHRESEARCHCENTER_SCIENTIST3, DOWN
+ turnobject RUINSOFALPHRESEARCHCENTER_SCIENTIST3, DOWN
opentext
writetext UnknownText_0x59278
waitbutton
--- a/maps/SlowpokeWellB1F.asm
+++ b/maps/SlowpokeWellB1F.asm
@@ -48,7 +48,7 @@
moveobject SLOWPOKEWELLB1F_KURT, 11, 6
appear SLOWPOKEWELLB1F_KURT
applymovement SLOWPOKEWELLB1F_KURT, KurtSlowpokeWellVictoryMovementData
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
opentext
writetext KurtLeaveSlowpokeWellText
waitbutton
--- a/maps/SproutTower3F.asm
+++ b/maps/SproutTower3F.asm
@@ -21,7 +21,7 @@
end
UnknownScript_0x184947:
- objectface PLAYER, UP
+ turnobject PLAYER, UP
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
playsound SFX_TACKLE
@@ -38,7 +38,7 @@
waitbutton
closetext
showemote EMOTE_SHOCK, SPROUTTOWER3F_SILVER, 15
- objectface SPROUTTOWER3F_SILVER, DOWN
+ turnobject SPROUTTOWER3F_SILVER, DOWN
pause 15
applymovement SPROUTTOWER3F_SILVER, MovementData_0x184a24
playmusic MUSIC_RIVAL_ENCOUNTER
@@ -46,7 +46,7 @@
writetext UnknownText_0x184aec
waitbutton
closetext
- objectface SPROUTTOWER3F_SILVER, UP
+ turnobject SPROUTTOWER3F_SILVER, UP
opentext
writetext UnknownText_0x184bc8
pause 15
--- a/maps/TeamRocketBaseB1F.asm
+++ b/maps/TeamRocketBaseB1F.asm
@@ -30,7 +30,7 @@
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 2
appear TEAMROCKETBASEB1F_ROCKET1
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
scall TrainerCameraGrunt1
ifequal TRUE, NoSecurityCamera
@@ -55,7 +55,7 @@
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 3
appear TEAMROCKETBASEB1F_ROCKET1
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
scall TrainerCameraGrunt1
ifequal TRUE, NoSecurityCamera
@@ -80,7 +80,7 @@
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 4, 7
appear TEAMROCKETBASEB1F_ROCKET1
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement2
scall TrainerCameraGrunt1
ifequal TRUE, NoSecurityCamera
@@ -87,7 +87,7 @@
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 12, 5
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement3
@@ -106,7 +106,7 @@
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 4, 8
appear TEAMROCKETBASEB1F_ROCKET1
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement4
scall TrainerCameraGrunt1
ifequal TRUE, NoSecurityCamera
@@ -113,7 +113,7 @@
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 12, 5
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement5
@@ -132,7 +132,7 @@
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 6
appear TEAMROCKETBASEB1F_ROCKET1
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
scall TrainerCameraGrunt1
ifequal TRUE, NoSecurityCamera
@@ -139,7 +139,7 @@
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 25, 11
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement6
@@ -158,7 +158,7 @@
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 7
appear TEAMROCKETBASEB1F_ROCKET1
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
scall TrainerCameraGrunt1
ifequal TRUE, NoSecurityCamera
@@ -165,7 +165,7 @@
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 25, 12
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement7
@@ -184,7 +184,7 @@
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 17, 16
appear TEAMROCKETBASEB1F_ROCKET1
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
scall TrainerCameraGrunt1
ifequal TRUE, NoSecurityCamera
@@ -191,7 +191,7 @@
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 25, 11
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement8
@@ -210,7 +210,7 @@
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 3, 16
appear TEAMROCKETBASEB1F_ROCKET1
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
scall TrainerCameraGrunt1
ifequal TRUE, NoSecurityCamera
@@ -217,7 +217,7 @@
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 14, 16
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement9
--- a/maps/TeamRocketBaseB2F.asm
+++ b/maps/TeamRocketBaseB2F.asm
@@ -61,12 +61,12 @@
writetext UnknownText_0x6d2ad
waitbutton
closetext
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
applymovement PLAYER, MovementData_0x6d21f
playmusic MUSIC_ROCKET_ENCOUNTER
applymovement TEAMROCKETBASEB2F_ROCKET_GIRL, MovementData_0x6d224
- objectface PLAYER, UP
+ turnobject PLAYER, UP
applymovement TEAMROCKETBASEB2F_ROCKET1, MovementData_0x6d22f
opentext
writetext UnknownText_0x6d2c3
@@ -73,8 +73,8 @@
waitbutton
closetext
cry DRAGONITE
- objectface TEAMROCKETBASEB2F_ROCKET_GIRL, LEFT
- objectface PLAYER, LEFT
+ turnobject TEAMROCKETBASEB2F_ROCKET_GIRL, LEFT
+ turnobject PLAYER, LEFT
appear TEAMROCKETBASEB2F_DRAGON
applymovement TEAMROCKETBASEB2F_DRAGON, MovementData_0x6d236
applymovement TEAMROCKETBASEB2F_ROCKET_GIRL, MovementData_0x6d23b
@@ -85,7 +85,7 @@
writetext UnknownText_0x6d38c
waitbutton
closetext
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
applymovement TEAMROCKETBASEB2F_ROCKET_GIRL, MovementData_0x6d241
opentext
writetext UnknownText_0x6d3bd
@@ -118,13 +118,13 @@
special FadeInQuickly
setscene SCENE_TEAMROCKETBASEB2F_ELECTRODES
clearevent EVENT_TEAM_ROCKET_BASE_B2F_LANCE
- objectface TEAMROCKETBASEB2F_LANCE, DOWN
+ turnobject TEAMROCKETBASEB2F_LANCE, DOWN
opentext
writetext UnknownText_0x6d5d8
waitbutton
closetext
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d250
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
writetext UnknownText_0x6d64e
waitbutton
@@ -153,12 +153,12 @@
end
LanceHealsScript1:
- objectface PLAYER, UP
+ turnobject PLAYER, UP
jump LanceHealsCommon
LanceHealsScript2:
- objectface PLAYER, RIGHT
- objectface TEAMROCKETBASEB2F_LANCE, LEFT
+ turnobject PLAYER, RIGHT
+ turnobject TEAMROCKETBASEB2F_LANCE, LEFT
LanceHealsCommon:
opentext
writetext LanceHealsText1
@@ -281,7 +281,7 @@
moveobject TEAMROCKETBASEB2F_LANCE, 18, 6
appear TEAMROCKETBASEB2F_LANCE
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d27a
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
opentext
writetext UnknownText_0x6d809
buttonsound
@@ -290,12 +290,12 @@
writetext UnknownText_0x6d8f8
waitbutton
closetext
- objectface TEAMROCKETBASEB2F_LANCE, DOWN
+ turnobject TEAMROCKETBASEB2F_LANCE, DOWN
opentext
writetext UnknownText_0x6d994
waitbutton
closetext
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d283
disappear TEAMROCKETBASEB2F_LANCE
setevent EVENT_CLEARED_ROCKET_HIDEOUT
--- a/maps/TeamRocketBaseB3F.asm
+++ b/maps/TeamRocketBaseB3F.asm
@@ -47,9 +47,9 @@
return
LanceGetPasswordScript:
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
pause 5
- objectface TEAMROCKETBASEB3F_MOLTRES, RIGHT
+ turnobject TEAMROCKETBASEB3F_MOLTRES, RIGHT
pause 20
applymovement TEAMROCKETBASEB3F_LANCE, MovementData_0x6e12a
opentext
@@ -62,12 +62,12 @@
end
RocketBaseRival:
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
appear TEAMROCKETBASEB3F_SILVER
applymovement TEAMROCKETBASEB3F_SILVER, RocketBaseRivalEnterMovement
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
playmusic MUSIC_RIVAL_ENCOUNTER
opentext
writetext RocketBaseRivalText
@@ -94,7 +94,7 @@
pause 30
showemote EMOTE_SHOCK, TEAMROCKETBASEB3F_ROCKET1, 15
playmusic MUSIC_ROCKET_ENCOUNTER
- objectface TEAMROCKETBASEB3F_ROCKET1, DOWN
+ turnobject TEAMROCKETBASEB3F_ROCKET1, DOWN
opentext
writetext UnknownText_0x6e400
waitbutton
--- a/maps/TinTower1F.asm
+++ b/maps/TinTower1F.asm
@@ -88,7 +88,7 @@
special MonCheck
iftrue .Next1 ; if player caught Raikou, he doesn't appear in Tin Tower
applymovement TINTOWER1F_RAIKOU, TinTowerRaikouMovement1
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
cry RAIKOU
pause 10
playsound SFX_WARP_FROM
@@ -101,7 +101,7 @@
special MonCheck
iftrue .Next2 ; if player caught Entei, he doesn't appear in Tin Tower
applymovement TINTOWER1F_ENTEI, TinTowerEnteiMovement1
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
cry ENTEI
pause 10
playsound SFX_WARP_FROM
@@ -110,7 +110,7 @@
playsound SFX_EXIT_BUILDING
waitsfx
.Next2:
- objectface PLAYER, UP
+ turnobject PLAYER, UP
pause 10
applymovement PLAYER, TinTowerPlayerMovement2
applymovement TINTOWER1F_SUICUNE, TinTowerSuicuneMovement
@@ -132,7 +132,7 @@
clearevent EVENT_SET_WHEN_FOUGHT_HO_OH
reloadmapafterbattle
pause 20
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
playsound SFX_ENTER_DOOR
moveobject TINTOWER1F_EUSINE, 10, 15
@@ -153,7 +153,7 @@
moveobject TINTOWER1F_SAGE1, 7, 13
moveobject TINTOWER1F_SAGE2, 9, 13
moveobject TINTOWER1F_SAGE3, 11, 13
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
opentext
writetext TinTowerEusineSuicuneText
waitbutton
--- a/maps/TrainerHouseB1F.asm
+++ b/maps/TrainerHouseB1F.asm
@@ -12,7 +12,7 @@
end
TrainerHouseReceptionistScript:
- objectface PLAYER, UP
+ turnobject PLAYER, UP
opentext
checkflag ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY
iftrue .FoughtTooManyTimes
--- a/maps/VermilionPort.asm
+++ b/maps/VermilionPort.asm
@@ -43,7 +43,7 @@
writetext UnknownText_0x74f06
waitbutton
closetext
- objectface VERMILIONPORT_SAILOR1, DOWN
+ turnobject VERMILIONPORT_SAILOR1, DOWN
pause 10
playsound SFX_EXIT_BUILDING
disappear VERMILIONPORT_SAILOR1
@@ -77,12 +77,12 @@
end
UnknownScript_0x74e20:
- objectface VERMILIONPORT_SAILOR2, RIGHT
+ turnobject VERMILIONPORT_SAILOR2, RIGHT
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue UnknownScript_0x74e86
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
iftrue UnknownScript_0x74e86
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
opentext
checkcode VAR_WEEKDAY
ifequal MONDAY, UnknownScript_0x74e72
--- a/maps/VictoryRoad.asm
+++ b/maps/VictoryRoad.asm
@@ -21,7 +21,7 @@
UnknownScript_0x74492:
moveobject VICTORYROAD_SILVER, 18, 11
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
@@ -35,7 +35,7 @@
end
UnknownScript_0x744b5:
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
@@ -49,7 +49,7 @@
end
UnknownScript_0x744d4:
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
playmusic MUSIC_RIVAL_ENCOUNTER
opentext
writetext UnknownText_0x7455f
--- a/maps/VictoryRoadGate.asm
+++ b/maps/VictoryRoadGate.asm
@@ -17,7 +17,7 @@
end
VictoryRoadGateBadgeCheckScene:
- objectface PLAYER, LEFT
+ turnobject PLAYER, LEFT
jump VictoryRoadGateBadgeCheckScript
VictoryRoadGateOfficerScript:
--- a/maps/VioletCity.asm
+++ b/maps/VioletCity.asm
@@ -40,7 +40,7 @@
playmusic MUSIC_SHOW_ME_AROUND
follow VIOLETCITY_EARL, PLAYER
applymovement VIOLETCITY_EARL, VioletCityFollowEarl_MovementData
- objectface PLAYER, UP
+ turnobject PLAYER, UP
applymovement VIOLETCITY_EARL, VioletCitySpinningEarl_MovementData
stopfollow
special RestartMapMusic
--- a/maps/VioletPokecenter1F.asm
+++ b/maps/VioletPokecenter1F.asm
@@ -36,7 +36,7 @@
closetext
checkcode VAR_FACING
ifequal UP, .AideWalksAroundPlayer
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
applymovement VIOLETPOKECENTER1F_SCIENTIST, MovementData_AideWalksStraightOutOfPokecenter
playsound SFX_EXIT_BUILDING
disappear VIOLETPOKECENTER1F_SCIENTIST
@@ -45,7 +45,7 @@
.AideWalksAroundPlayer:
applymovement VIOLETPOKECENTER1F_SCIENTIST, MovementData_AideWalksLeftToExitPokecenter
- objectface PLAYER, DOWN
+ turnobject PLAYER, DOWN
applymovement VIOLETPOKECENTER1F_SCIENTIST, MovementData_AideFinishesLeavingPokecenter
playsound SFX_EXIT_BUILDING
disappear VIOLETPOKECENTER1F_SCIENTIST
--- a/maps/WiseTriosRoom.asm
+++ b/maps/WiseTriosRoom.asm
@@ -51,19 +51,19 @@
jumptextfaceplayer WiseTriosRoomSage3Text
UnknownScript_0x985a3:
- objectface WISETRIOSROOM_SAGE3, UP
- objectface PLAYER, DOWN
+ turnobject WISETRIOSROOM_SAGE3, UP
+ turnobject PLAYER, DOWN
showemote EMOTE_SHOCK, WISETRIOSROOM_SAGE3, 20
follow PLAYER, WISETRIOSROOM_SAGE3
applymovement PLAYER, MovementData_0x98622
stopfollow
- objectface PLAYER, RIGHT
+ turnobject PLAYER, RIGHT
opentext
writetext UnknownText_0x98712
waitbutton
closetext
applymovement WISETRIOSROOM_SAGE3, MovementData_0x98625
- objectface WISETRIOSROOM_SAGE3, LEFT
+ turnobject WISETRIOSROOM_SAGE3, LEFT
end
TrainerSageGaku:
@@ -101,7 +101,7 @@
waitbutton
closetext
applymovement WISETRIOSROOM_SAGE6, MovementData_0x98628
- objectface WISETRIOSROOM_SAGE6, UP
+ turnobject WISETRIOSROOM_SAGE6, UP
setevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
setscene SCENE_FINISHED
end