summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-04 17:09:35 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-04 21:14:46 -0400
commit139a28ff9906d728a6820fe678a2a616eb309421 (patch)
tree9a4339b97e16e10c5b007e836f1f3fadd33bd9f4 /scripts
parent2718c36065e7eb201a149938bcdd51987c4e56b6 (diff)
Port pokecrystal's formatting of text commands and special characters
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/AgathasRoom.asm18
-rwxr-xr-xscripts/BikeShop.asm52
-rwxr-xr-xscripts/BillsHouse.asm44
-rwxr-xr-xscripts/BluesHouse.asm32
-rwxr-xr-xscripts/BrunosRoom.asm18
-rwxr-xr-xscripts/CeladonChiefHouse.asm12
-rwxr-xr-xscripts/CeladonCity.asm84
-rwxr-xr-xscripts/CeladonDiner.asm36
-rwxr-xr-xscripts/CeladonGym.asm128
-rwxr-xr-xscripts/CeladonHotel.asm12
-rwxr-xr-xscripts/CeladonMansion1F.asm20
-rwxr-xr-xscripts/CeladonMansion2F.asm4
-rwxr-xr-xscripts/CeladonMansion3F.asm40
-rwxr-xr-xscripts/CeladonMansionRoof.asm4
-rwxr-xr-xscripts/CeladonMansionRoofHouse.asm6
-rwxr-xr-xscripts/CeladonMart1F.asm12
-rwxr-xr-xscripts/CeladonMart2F.asm12
-rwxr-xr-xscripts/CeladonMart3F.asm64
-rwxr-xr-xscripts/CeladonMart4F.asm12
-rwxr-xr-xscripts/CeladonMart5F.asm12
-rwxr-xr-xscripts/CeladonMartElevator.asm2
-rwxr-xr-xscripts/CeladonMartRoof.asm84
-rwxr-xr-xscripts/CeladonPokecenter.asm12
-rwxr-xr-xscripts/CeruleanBadgeHouse.asm46
-rwxr-xr-xscripts/CeruleanCaveB1F.asm6
-rwxr-xr-xscripts/CeruleanCity.asm118
-rwxr-xr-xscripts/CeruleanGym.asm70
-rwxr-xr-xscripts/CeruleanMart.asm8
-rwxr-xr-xscripts/CeruleanPokecenter.asm12
-rwxr-xr-xscripts/CeruleanTradeHouse.asm6
-rwxr-xr-xscripts/CeruleanTrashedHouse.asm18
-rwxr-xr-xscripts/ChampionsRoom.asm36
-rwxr-xr-xscripts/CinnabarGym.asm142
-rwxr-xr-xscripts/CinnabarIsland.asm24
-rwxr-xr-xscripts/CinnabarLab.asm20
-rwxr-xr-xscripts/CinnabarLabFossilRoom.asm20
-rwxr-xr-xscripts/CinnabarLabMetronomeRoom.asm32
-rwxr-xr-xscripts/CinnabarLabTradeRoom.asm8
-rwxr-xr-xscripts/CinnabarMart.asm8
-rwxr-xr-xscripts/CinnabarPokecenter.asm12
-rwxr-xr-xscripts/Colosseum.asm4
-rwxr-xr-xscripts/CopycatsHouse1F.asm12
-rwxr-xr-xscripts/CopycatsHouse2F.asm52
-rwxr-xr-xscripts/Daycare.asm60
-rwxr-xr-xscripts/DiglettsCave.asm2
-rwxr-xr-xscripts/DiglettsCaveRoute11.asm4
-rwxr-xr-xscripts/DiglettsCaveRoute2.asm4
-rwxr-xr-xscripts/FightingDojo.asm90
-rwxr-xr-xscripts/FuchsiaBillsGrandpasHouse.asm12
-rwxr-xr-xscripts/FuchsiaCity.asm84
-rwxr-xr-xscripts/FuchsiaGoodRodHouse.asm34
-rwxr-xr-xscripts/FuchsiaGym.asm124
-rwxr-xr-xscripts/FuchsiaMart.asm8
-rwxr-xr-xscripts/FuchsiaMeetingRoom.asm12
-rwxr-xr-xscripts/FuchsiaPokecenter.asm12
-rwxr-xr-xscripts/GameCorner.asm140
-rwxr-xr-xscripts/GameCornerPrizeRoom.asm10
-rwxr-xr-xscripts/HallOfFame.asm4
-rwxr-xr-xscripts/IndigoPlateauLobby.asm12
-rwxr-xr-xscripts/LancesRoom.asm14
-rwxr-xr-xscripts/LavenderCuboneHouse.asm14
-rwxr-xr-xscripts/LavenderMart.asm14
-rwxr-xr-xscripts/LavenderPokecenter.asm12
-rwxr-xr-xscripts/LavenderTown.asm38
-rwxr-xr-xscripts/LoreleisRoom.asm18
-rwxr-xr-xscripts/MrFujisHouse.asm54
-rwxr-xr-xscripts/MrPsychicsHouse.asm20
-rwxr-xr-xscripts/MtMoon1F.asm102
-rwxr-xr-xscripts/MtMoonB1F.asm4
-rwxr-xr-xscripts/MtMoonB2F.asm106
-rwxr-xr-xscripts/MtMoonPokecenter.asm30
-rwxr-xr-xscripts/Museum1F.asm76
-rwxr-xr-xscripts/Museum2F.asm28
-rwxr-xr-xscripts/NameRatersHouse.asm30
-rwxr-xr-xscripts/OaksLab.asm208
-rwxr-xr-xscripts/PalletTown.asm34
-rwxr-xr-xscripts/PewterCity.asm70
-rwxr-xr-xscripts/PewterGym.asm70
-rwxr-xr-xscripts/PewterMart.asm12
-rwxr-xr-xscripts/PewterNidoranHouse.asm12
-rwxr-xr-xscripts/PewterPokecenter.asm14
-rwxr-xr-xscripts/PewterSpeechHouse.asm8
-rwxr-xr-xscripts/PokemonFanClub.asm74
-rwxr-xr-xscripts/PokemonMansion1F.asm28
-rwxr-xr-xscripts/PokemonMansion2F.asm36
-rwxr-xr-xscripts/PokemonMansion3F.asm32
-rwxr-xr-xscripts/PokemonMansionB1F.asm32
-rwxr-xr-xscripts/PokemonTower1F.asm20
-rwxr-xr-xscripts/PokemonTower2F.asm22
-rwxr-xr-xscripts/PokemonTower3F.asm42
-rwxr-xr-xscripts/PokemonTower4F.asm42
-rwxr-xr-xscripts/PokemonTower5F.asm64
-rwxr-xr-xscripts/PokemonTower6F.asm56
-rwxr-xr-xscripts/PokemonTower7F.asm48
-rwxr-xr-xscripts/PowerPlant.asm26
-rwxr-xr-xscripts/RedsHouse1F.asm24
-rwxr-xr-xscripts/RedsHouse2F.asm2
-rwxr-xr-xscripts/RockTunnel1F.asm102
-rwxr-xr-xscripts/RockTunnelB1F.asm112
-rwxr-xr-xscripts/RockTunnelPokecenter.asm8
-rwxr-xr-xscripts/RocketHideoutB1F.asm74
-rwxr-xr-xscripts/RocketHideoutB2F.asm14
-rwxr-xr-xscripts/RocketHideoutB3F.asm28
-rwxr-xr-xscripts/RocketHideoutB4F.asm58
-rwxr-xr-xscripts/RocketHideoutElevator.asm8
-rwxr-xr-xscripts/Route1.asm28
-rwxr-xr-xscripts/Route10.asm92
-rwxr-xr-xscripts/Route11.asm144
-rwxr-xr-xscripts/Route11Gate1F.asm4
-rwxr-xr-xscripts/Route11Gate2F.asm24
-rwxr-xr-xscripts/Route12.asm118
-rwxr-xr-xscripts/Route12Gate1F.asm4
-rwxr-xr-xscripts/Route12Gate2F.asm32
-rwxr-xr-xscripts/Route12SuperRodHouse.asm26
-rwxr-xr-xscripts/Route13.asm152
-rwxr-xr-xscripts/Route14.asm144
-rwxr-xr-xscripts/Route15.asm144
-rwxr-xr-xscripts/Route15Gate1F.asm4
-rwxr-xr-xscripts/Route15Gate2F.asm12
-rwxr-xr-xscripts/Route16.asm104
-rwxr-xr-xscripts/Route16FlyHouse.asm26
-rwxr-xr-xscripts/Route16Gate1F.asm18
-rwxr-xr-xscripts/Route16Gate2F.asm24
-rwxr-xr-xscripts/Route17.asm164
-rwxr-xr-xscripts/Route18.asm50
-rwxr-xr-xscripts/Route18Gate1F.asm14
-rwxr-xr-xscripts/Route18Gate2F.asm14
-rwxr-xr-xscripts/Route19.asm144
-rwxr-xr-xscripts/Route2.asm8
-rwxr-xr-xscripts/Route20.asm144
-rwxr-xr-xscripts/Route21.asm126
-rwxr-xr-xscripts/Route22.asm40
-rwxr-xr-xscripts/Route22Gate.asm16
-rwxr-xr-xscripts/Route23.asm30
-rwxr-xr-xscripts/Route24.asm118
-rwxr-xr-xscripts/Route25.asm130
-rwxr-xr-xscripts/Route2Gate.asm10
-rwxr-xr-xscripts/Route2TradeHouse.asm6
-rwxr-xr-xscripts/Route3.asm120
-rwxr-xr-xscripts/Route4.asm26
-rwxr-xr-xscripts/Route5.asm4
-rwxr-xr-xscripts/Route5Gate.asm18
-rwxr-xr-xscripts/Route6.asm84
-rwxr-xr-xscripts/Route7.asm4
-rwxr-xr-xscripts/Route8.asm130
-rwxr-xr-xscripts/Route9.asm130
-rwxr-xr-xscripts/SSAnne1F.asm8
-rwxr-xr-xscripts/SSAnne1FRooms.asm80
-rwxr-xr-xscripts/SSAnne2F.asm22
-rwxr-xr-xscripts/SSAnne2FRooms.asm98
-rwxr-xr-xscripts/SSAnne3F.asm4
-rwxr-xr-xscripts/SSAnneB1F.asm2
-rwxr-xr-xscripts/SSAnneB1FRooms.asm92
-rwxr-xr-xscripts/SSAnneBow.asm40
-rwxr-xr-xscripts/SSAnneCaptainsRoom.asm32
-rwxr-xr-xscripts/SSAnneKitchen.asm42
-rwxr-xr-xscripts/SafariZoneCenter.asm8
-rwxr-xr-xscripts/SafariZoneCenterRestHouse.asm8
-rwxr-xr-xscripts/SafariZoneEast.asm12
-rwxr-xr-xscripts/SafariZoneEastRestHouse.asm12
-rwxr-xr-xscripts/SafariZoneGate.asm54
-rwxr-xr-xscripts/SafariZoneNorth.asm20
-rwxr-xr-xscripts/SafariZoneNorthRestHouse.asm12
-rwxr-xr-xscripts/SafariZoneSecretHouse.asm20
-rwxr-xr-xscripts/SafariZoneWest.asm16
-rwxr-xr-xscripts/SafariZoneWestRestHouse.asm12
-rwxr-xr-xscripts/SaffronCity.asm94
-rwxr-xr-xscripts/SaffronGym.asm142
-rwxr-xr-xscripts/SaffronMart.asm8
-rwxr-xr-xscripts/SaffronPidgeyHouse.asm16
-rwxr-xr-xscripts/SaffronPokecenter.asm12
-rwxr-xr-xscripts/SeafoamIslandsB4F.asm14
-rwxr-xr-xscripts/SilphCo10F.asm38
-rwxr-xr-xscripts/SilphCo11F.asm70
-rwxr-xr-xscripts/SilphCo1F.asm4
-rwxr-xr-xscripts/SilphCo2F.asm76
-rwxr-xr-xscripts/SilphCo3F.asm38
-rwxr-xr-xscripts/SilphCo4F.asm52
-rwxr-xr-xscripts/SilphCo5F.asm78
-rwxr-xr-xscripts/SilphCo6F.asm92
-rwxr-xr-xscripts/SilphCo7F.asm126
-rwxr-xr-xscripts/SilphCo8F.asm52
-rwxr-xr-xscripts/SilphCo9F.asm56
-rwxr-xr-xscripts/SilphCoElevator.asm2
-rwxr-xr-xscripts/TradeCenter.asm4
-rwxr-xr-xscripts/UndergroundPathNorthSouth.asm2
-rwxr-xr-xscripts/UndergroundPathRoute5.asm8
-rwxr-xr-xscripts/UndergroundPathRoute6.asm4
-rwxr-xr-xscripts/UndergroundPathRoute7.asm4
-rwxr-xr-xscripts/UndergroundPathRoute7Copy.asm16
-rwxr-xr-xscripts/UndergroundPathRoute8.asm4
-rwxr-xr-xscripts/UndergroundPathWestEast.asm2
-rwxr-xr-xscripts/VermilionCity.asm72
-rwxr-xr-xscripts/VermilionDock.asm4
-rwxr-xr-xscripts/VermilionGym.asm82
-rwxr-xr-xscripts/VermilionMart.asm8
-rwxr-xr-xscripts/VermilionOldRodHouse.asm26
-rwxr-xr-xscripts/VermilionPidgeyHouse.asm12
-rwxr-xr-xscripts/VermilionPokecenter.asm12
-rwxr-xr-xscripts/VermilionTradeHouse.asm2
-rwxr-xr-xscripts/VictoryRoad1F.asm28
-rwxr-xr-xscripts/VictoryRoad2F.asm76
-rwxr-xr-xscripts/VictoryRoad3F.asm56
-rwxr-xr-xscripts/ViridianCity.asm102
-rwxr-xr-xscripts/ViridianForest.asm74
-rwxr-xr-xscripts/ViridianForestNorthGate.asm8
-rwxr-xr-xscripts/ViridianForestSouthGate.asm8
-rwxr-xr-xscripts/ViridianGym.asm156
-rwxr-xr-xscripts/ViridianMart.asm22
-rwxr-xr-xscripts/ViridianNicknameHouse.asm18
-rwxr-xr-xscripts/ViridianPokecenter.asm12
-rwxr-xr-xscripts/ViridianSchoolHouse.asm8
-rwxr-xr-xscripts/WardensHouse.asm50
213 files changed, 4500 insertions, 4500 deletions
diff --git a/scripts/AgathasRoom.asm b/scripts/AgathasRoom.asm
index a1dba196..6d304de8 100755
--- a/scripts/AgathasRoom.asm
+++ b/scripts/AgathasRoom.asm
@@ -132,23 +132,23 @@ AgathaTrainerHeader0:
db $ff
AgathaText1:
- TX_ASM
+ text_asm
ld hl, AgathaTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
AgathaBeforeBattleText:
- TX_FAR _AgathaBeforeBattleText
- db "@"
+ text_far _AgathaBeforeBattleText
+ text_end
AgathaEndBattleText:
- TX_FAR _AgathaEndBattleText
- db "@"
+ text_far _AgathaEndBattleText
+ text_end
AgathaAfterBattleText:
- TX_FAR _AgathaAfterBattleText
- db "@"
+ text_far _AgathaAfterBattleText
+ text_end
AgathaDontRunAwayText:
- TX_FAR _AgathaDontRunAwayText
- db "@"
+ text_far _AgathaDontRunAwayText
+ text_end
diff --git a/scripts/BikeShop.asm b/scripts/BikeShop.asm
index 2661ca70..07e96c1b 100755
--- a/scripts/BikeShop.asm
+++ b/scripts/BikeShop.asm
@@ -7,7 +7,7 @@ BikeShop_TextPointers:
dw BikeShopText3
BikeShopText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_BICYCLE
jr z, .asm_260d4
ld hl, BikeShopText_1d82f
@@ -86,50 +86,50 @@ BikeShopMenuPrice:
db "¥1000000@"
BikeShopText_1d810:
- TX_FAR _BikeShopText_1d810
- db "@"
+ text_far _BikeShopText_1d810
+ text_end
BikeShopText_1d815:
- TX_FAR _BikeShopText_1d815
- db "@"
+ text_far _BikeShopText_1d815
+ text_end
BikeShopCantAffordText:
- TX_FAR _BikeShopCantAffordText
- db "@"
+ text_far _BikeShopCantAffordText
+ text_end
BikeShopText_1d81f:
- TX_FAR _BikeShopText_1d81f
- db "@"
+ text_far _BikeShopText_1d81f
+ text_end
BikeShopText_1d824:
- TX_FAR _BikeShopText_1d824
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _BikeShopText_1d824
+ sound_get_key_item
+ text_end
BikeShopComeAgainText:
- TX_FAR _BikeShopComeAgainText
- db "@"
+ text_far _BikeShopComeAgainText
+ text_end
BikeShopText_1d82f:
- TX_FAR _BikeShopText_1d82f
- db "@"
+ text_far _BikeShopText_1d82f
+ text_end
BikeShopText_1d834:
- TX_FAR _BikeShopText_1d834
- db "@"
+ text_far _BikeShopText_1d834
+ text_end
BikeShopText2:
- TX_ASM
+ text_asm
ld hl, BikeShopText_1d843
call PrintText
jp TextScriptEnd
BikeShopText_1d843:
- TX_FAR _BikeShopText_1d843
- db "@"
+ text_far _BikeShopText_1d843
+ text_end
BikeShopText3:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_BICYCLE
ld hl, BikeShopText_1d861
jr nz, .asm_34d2d
@@ -139,9 +139,9 @@ BikeShopText3:
jp TextScriptEnd
BikeShopText_1d85c:
- TX_FAR _BikeShopText_1d85c
- db "@"
+ text_far _BikeShopText_1d85c
+ text_end
BikeShopText_1d861:
- TX_FAR _BikeShopText_1d861
- db "@"
+ text_far _BikeShopText_1d861
+ text_end
diff --git a/scripts/BillsHouse.asm b/scripts/BillsHouse.asm
index 395694a3..c1948ae4 100755
--- a/scripts/BillsHouse.asm
+++ b/scripts/BillsHouse.asm
@@ -122,10 +122,10 @@ BillsHouse_TextPointers:
dw BillsHouseText4
BillsHouseText4:
- TX_BILLS_PC
+ script_bills_pc
BillsHouseText1:
- TX_ASM
+ text_asm
ld hl, BillsHouseText_1e865
call PrintText
call YesNoChoice
@@ -146,19 +146,19 @@ BillsHouseText1:
jp TextScriptEnd
BillsHouseText_1e865:
- TX_FAR _BillsHouseText_1e865
- db "@"
+ text_far _BillsHouseText_1e865
+ text_end
BillsHouseText_1e86a:
- TX_FAR _BillsHouseText_1e86a
- db "@"
+ text_far _BillsHouseText_1e86a
+ text_end
BillsHouseText_1e86f:
- TX_FAR _BillsHouseText_1e86f
- db "@"
+ text_far _BillsHouseText_1e86f
+ text_end
BillsHouseText2:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_SS_TICKET
jr nz, .asm_1e8a9
ld hl, BillThankYouText
@@ -186,29 +186,29 @@ BillsHouseText2:
jp TextScriptEnd
BillThankYouText:
- TX_FAR _BillThankYouText
- db "@"
+ text_far _BillThankYouText
+ text_end
SSTicketReceivedText:
- TX_FAR _SSTicketReceivedText
- TX_SFX_KEY_ITEM
- TX_BLINK
- db "@"
+ text_far _SSTicketReceivedText
+ sound_get_key_item
+ text_promptbutton
+ text_end
SSTicketNoRoomText:
- TX_FAR _SSTicketNoRoomText
- db "@"
+ text_far _SSTicketNoRoomText
+ text_end
BillsHouseText_1e8cb:
- TX_FAR _BillsHouseText_1e8cb
- db "@"
+ text_far _BillsHouseText_1e8cb
+ text_end
BillsHouseText3:
- TX_ASM
+ text_asm
ld hl, BillsHouseText_1e8da
call PrintText
jp TextScriptEnd
BillsHouseText_1e8da:
- TX_FAR _BillsHouseText_1e8da
- db "@"
+ text_far _BillsHouseText_1e8da
+ text_end
diff --git a/scripts/BluesHouse.asm b/scripts/BluesHouse.asm
index f325049f..241d6f5a 100755
--- a/scripts/BluesHouse.asm
+++ b/scripts/BluesHouse.asm
@@ -25,7 +25,7 @@ BluesHouse_TextPointers:
dw BluesHouseText3
BluesHouseText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_TOWN_MAP
jr nz, .GotMap
CheckEvent EVENT_GOT_POKEDEX
@@ -60,30 +60,30 @@ BluesHouseText1:
jp TextScriptEnd
DaisyInitialText:
- TX_FAR _DaisyInitialText
- db "@"
+ text_far _DaisyInitialText
+ text_end
DaisyOfferMapText:
- TX_FAR _DaisyOfferMapText
- db "@"
+ text_far _DaisyOfferMapText
+ text_end
GotMapText:
- TX_FAR _GotMapText
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _GotMapText
+ sound_get_key_item
+ text_end
DaisyBagFullText:
- TX_FAR _DaisyBagFullText
- db "@"
+ text_far _DaisyBagFullText
+ text_end
DaisyUseMapText:
- TX_FAR _DaisyUseMapText
- db "@"
+ text_far _DaisyUseMapText
+ text_end
BluesHouseText2: ; Daisy, walking around
- TX_FAR _BluesHouseText2
- db "@"
+ text_far _BluesHouseText2
+ text_end
BluesHouseText3: ; map on table
- TX_FAR _BluesHouseText3
- db "@"
+ text_far _BluesHouseText3
+ text_end
diff --git a/scripts/BrunosRoom.asm b/scripts/BrunosRoom.asm
index 3b6385b7..85cd86af 100755
--- a/scripts/BrunosRoom.asm
+++ b/scripts/BrunosRoom.asm
@@ -129,23 +129,23 @@ BrunoTrainerHeader0:
db $ff
BrunoText1:
- TX_ASM
+ text_asm
ld hl, BrunoTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
BrunoBeforeBattleText:
- TX_FAR _BrunoBeforeBattleText
- db "@"
+ text_far _BrunoBeforeBattleText
+ text_end
BrunoEndBattleText:
- TX_FAR _BrunoEndBattleText
- db "@"
+ text_far _BrunoEndBattleText
+ text_end
BrunoAfterBattleText:
- TX_FAR _BrunoAfterBattleText
- db "@"
+ text_far _BrunoAfterBattleText
+ text_end
BrunoDontRunAwayText:
- TX_FAR _BrunoDontRunAwayText
- db "@"
+ text_far _BrunoDontRunAwayText
+ text_end
diff --git a/scripts/CeladonChiefHouse.asm b/scripts/CeladonChiefHouse.asm
index fc37bd4d..ad604b98 100755
--- a/scripts/CeladonChiefHouse.asm
+++ b/scripts/CeladonChiefHouse.asm
@@ -8,13 +8,13 @@ CeladonChiefHouse_TextPointers:
dw CeladonHouseText3
CeladonHouseText1:
- TX_FAR _CeladonHouseText1
- db "@"
+ text_far _CeladonHouseText1
+ text_end
CeladonHouseText2:
- TX_FAR _CeladonHouseText2
- db "@"
+ text_far _CeladonHouseText2
+ text_end
CeladonHouseText3:
- TX_FAR _CeladonHouseText3
- db "@"
+ text_far _CeladonHouseText3
+ text_end
diff --git a/scripts/CeladonCity.asm b/scripts/CeladonCity.asm
index e2d7d371..37569c0b 100755
--- a/scripts/CeladonCity.asm
+++ b/scripts/CeladonCity.asm
@@ -25,23 +25,23 @@ CeladonCity_TextPointers:
dw CeladonCityText18
CeladonCityText1:
- TX_FAR _CeladonCityText1
- db "@"
+ text_far _CeladonCityText1
+ text_end
CeladonCityText2:
- TX_FAR _CeladonCityText2
- db "@"
+ text_far _CeladonCityText2
+ text_end
CeladonCityText3:
- TX_FAR _CeladonCityText3
- db "@"
+ text_far _CeladonCityText3
+ text_end
CeladonCityText4:
- TX_FAR _CeladonCityText4
- db "@"
+ text_far _CeladonCityText4
+ text_end
CeladonCityText5:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_TM41
jr nz, .asm_7053f
ld hl, TM41PreText
@@ -64,69 +64,69 @@ CeladonCityText5:
jp TextScriptEnd
TM41PreText:
- TX_FAR _TM41PreText
- db "@"
+ text_far _TM41PreText
+ text_end
ReceivedTM41Text:
- TX_FAR _ReceivedTM41Text
- TX_SFX_ITEM_1
- db "@"
+ text_far _ReceivedTM41Text
+ sound_get_item_1
+ text_end
TM41ExplanationText:
- TX_FAR _TM41ExplanationText
- db "@"
+ text_far _TM41ExplanationText
+ text_end
TM41NoRoomText:
- TX_FAR _TM41NoRoomText
- db "@"
+ text_far _TM41NoRoomText
+ text_end
CeladonCityText6:
- TX_FAR _CeladonCityText6
- db "@"
+ text_far _CeladonCityText6
+ text_end
CeladonCityText7:
- TX_FAR _CeladonCityText7
- TX_ASM
+ text_far _CeladonCityText7
+ text_asm
ld a, POLIWRATH
call PlayCry
jp TextScriptEnd
CeladonCityText8:
- TX_FAR _CeladonCityText8
- db "@"
+ text_far _CeladonCityText8
+ text_end
CeladonCityText9:
- TX_FAR _CeladonCityText9
- db "@"
+ text_far _CeladonCityText9
+ text_end
CeladonCityText10:
- TX_FAR _CeladonCityText10
- db "@"
+ text_far _CeladonCityText10
+ text_end
CeladonCityText11:
- TX_FAR _CeladonCityText11
- db "@"
+ text_far _CeladonCityText11
+ text_end
CeladonCityText13:
- TX_FAR _CeladonCityText13
- db "@"
+ text_far _CeladonCityText13
+ text_end
CeladonCityText14:
- TX_FAR _CeladonCityText14
- db "@"
+ text_far _CeladonCityText14
+ text_end
CeladonCityText15:
- TX_FAR _CeladonCityText15
- db "@"
+ text_far _CeladonCityText15
+ text_end
CeladonCityText16:
- TX_FAR _CeladonCityText16
- db "@"
+ text_far _CeladonCityText16
+ text_end
CeladonCityText17:
- TX_FAR _CeladonCityText17
- db "@"
+ text_far _CeladonCityText17
+ text_end
CeladonCityText18:
- TX_FAR _CeladonCityText18
- db "@"
+ text_far _CeladonCityText18
+ text_end
diff --git a/scripts/CeladonDiner.asm b/scripts/CeladonDiner.asm
index 371205de..e5a2d8b2 100755
--- a/scripts/CeladonDiner.asm
+++ b/scripts/CeladonDiner.asm
@@ -10,23 +10,23 @@ CeladonDiner_TextPointers:
dw CeladonDinerText5
CeladonDinerText1:
- TX_FAR _CeladonDinerText1
- db "@"
+ text_far _CeladonDinerText1
+ text_end
CeladonDinerText2:
- TX_FAR _CeladonDinerText2
- db "@"
+ text_far _CeladonDinerText2
+ text_end
CeladonDinerText3:
- TX_FAR _CeladonDinerText3
- db "@"
+ text_far _CeladonDinerText3
+ text_end
CeladonDinerText4:
- TX_FAR _CeladonDinerText4
- db "@"
+ text_far _CeladonDinerText4
+ text_end
CeladonDinerText5:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_COIN_CASE
jr nz, .asm_eb14d
ld hl, CeladonDinerText_491a7
@@ -49,18 +49,18 @@ CeladonDinerText5:
jp TextScriptEnd
CeladonDinerText_491a7:
- TX_FAR _CeladonDinerText_491a7
- db "@"
+ text_far _CeladonDinerText_491a7
+ text_end
ReceivedCoinCaseText:
- TX_FAR _ReceivedCoinCaseText
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _ReceivedCoinCaseText
+ sound_get_key_item
+ text_end
CoinCaseNoRoomText:
- TX_FAR _CoinCaseNoRoomText
- db "@"
+ text_far _CoinCaseNoRoomText
+ text_end
CeladonDinerText_491b7:
- TX_FAR _CeladonDinerText_491b7
- db "@"
+ text_far _CeladonDinerText_491b7
+ text_end
diff --git a/scripts/CeladonGym.asm b/scripts/CeladonGym.asm
index e2665555..1a39cc3f 100755
--- a/scripts/CeladonGym.asm
+++ b/scripts/CeladonGym.asm
@@ -149,7 +149,7 @@ CeladonGymTrainerHeader6:
db $ff
CeladonGymText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_ERIKA
jr z, .beginBattle
CheckEventReuseA EVENT_GOT_TM21
@@ -183,153 +183,153 @@ CeladonGymText1:
jp TextScriptEnd
CeladonGymText_48a5e:
- TX_FAR _CeladonGymText_48a5e
- db "@"
+ text_far _CeladonGymText_48a5e
+ text_end
CeladonGymText_48a63:
- TX_FAR _CeladonGymText_48a63
- db "@"
+ text_far _CeladonGymText_48a63
+ text_end
CeladonGymText_48a68:
- TX_FAR _CeladonGymText_48a68
- db "@"
+ text_far _CeladonGymText_48a68
+ text_end
CeladonGymText9:
- TX_FAR _CeladonGymText9
- db "@"
+ text_far _CeladonGymText9
+ text_end
TM21Text:
- TX_FAR _ReceivedTM21Text
- TX_SFX_ITEM_1
- TX_FAR _TM21ExplanationText
- db "@"
+ text_far _ReceivedTM21Text
+ sound_get_item_1
+ text_far _TM21ExplanationText
+ text_end
TM21NoRoomText:
- TX_FAR _TM21NoRoomText
- db "@"
+ text_far _TM21NoRoomText
+ text_end
CeladonGymText2:
- TX_ASM
+ text_asm
ld hl, CeladonGymTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
CeladonGymBattleText2:
- TX_FAR _CeladonGymBattleText2
- db "@"
+ text_far _CeladonGymBattleText2
+ text_end
CeladonGymEndBattleText2:
- TX_FAR _CeladonGymEndBattleText2
- db "@"
+ text_far _CeladonGymEndBattleText2
+ text_end
CeladonGymAfterBattleText2:
- TX_FAR _CeladonGymAfterBattleText2
- db "@"
+ text_far _CeladonGymAfterBattleText2
+ text_end
CeladonGymText3:
- TX_ASM
+ text_asm
ld hl, CeladonGymTrainerHeader1
call TalkToTrainer
jp TextScriptEnd
CeladonGymBattleText3:
- TX_FAR _CeladonGymBattleText3
- db "@"
+ text_far _CeladonGymBattleText3
+ text_end
CeladonGymEndBattleText3:
- TX_FAR _CeladonGymEndBattleText3
- db "@"
+ text_far _CeladonGymEndBattleText3
+ text_end
CeladonGymAfterBattleText3:
- TX_FAR _CeladonGymAfterBattleText3
- db "@"
+ text_far _CeladonGymAfterBattleText3
+ text_end
CeladonGymText4:
- TX_ASM
+ text_asm
ld hl, CeladonGymTrainerHeader2
call TalkToTrainer
jp TextScriptEnd
CeladonGymBattleText4:
- TX_FAR _CeladonGymBattleText4
- db "@"
+ text_far _CeladonGymBattleText4
+ text_end
CeladonGymEndBattleText4:
- TX_FAR _CeladonGymEndBattleText4
- db "@"
+ text_far _CeladonGymEndBattleText4
+ text_end
CeladonGymAfterBattleText4:
- TX_FAR _CeladonGymAfterBattleText4
- db "@"
+ text_far _CeladonGymAfterBattleText4
+ text_end
CeladonGymText5:
- TX_ASM
+ text_asm
ld hl, CeladonGymTrainerHeader3
call TalkToTrainer
jp TextScriptEnd
CeladonGymBattleText5:
- TX_FAR _CeladonGymBattleText5
- db "@"
+ text_far _CeladonGymBattleText5
+ text_end
CeladonGymEndBattleText5:
- TX_FAR _CeladonGymEndBattleText5
- db "@"
+ text_far _CeladonGymEndBattleText5
+ text_end
CeladonGymAfterBattleText5:
- TX_FAR _CeladonGymAfterBattleText5
- db "@"
+ text_far _CeladonGymAfterBattleText5
+ text_end
CeladonGymText6:
- TX_ASM
+ text_asm
ld hl, CeladonGymTrainerHeader4
call TalkToTrainer
jp TextScriptEnd
CeladonGymBattleText6:
- TX_FAR _CeladonGymBattleText6
- db "@"
+ text_far _CeladonGymBattleText6
+ text_end
CeladonGymEndBattleText6:
- TX_FAR _CeladonGymEndBattleText6
- db "@"
+ text_far _CeladonGymEndBattleText6
+ text_end
CeladonGymAfterBattleText6:
- TX_FAR _CeladonGymAfterBattleText6
- db "@"
+ text_far _CeladonGymAfterBattleText6
+ text_end
CeladonGymText7:
- TX_ASM
+ text_asm
ld hl, CeladonGymTrainerHeader5
call TalkToTrainer
jp TextScriptEnd
CeladonGymBattleText7:
- TX_FAR _CeladonGymBattleText7
- db "@"
+ text_far _CeladonGymBattleText7
+ text_end
CeladonGymEndBattleText7:
- TX_FAR _CeladonGymEndBattleText7
- db "@"
+ text_far _CeladonGymEndBattleText7
+ text_end
CeladonGymAfterBattleText7:
- TX_FAR _CeladonGymAfterBattleText7
- db "@"
+ text_far _CeladonGymAfterBattleText7
+ text_end
CeladonGymText8:
- TX_ASM
+ text_asm
ld hl, CeladonGymTrainerHeader6
call TalkToTrainer
jp TextScriptEnd
CeladonGymBattleText8:
- TX_FAR _CeladonGymBattleText8
- db "@"
+ text_far _CeladonGymBattleText8
+ text_end
CeladonGymEndBattleText8:
- TX_FAR _CeladonGymEndBattleText8
- db "@"
+ text_far _CeladonGymEndBattleText8
+ text_end
CeladonGymAfterBattleText8:
- TX_FAR _CeladonGymAfterBattleText8
- db "@"
+ text_far _CeladonGymAfterBattleText8
+ text_end
diff --git a/scripts/CeladonHotel.asm b/scripts/CeladonHotel.asm
index ee4e140c..2cdd95b0 100755
--- a/scripts/CeladonHotel.asm
+++ b/scripts/CeladonHotel.asm
@@ -7,13 +7,13 @@ CeladonHotel_TextPointers:
dw CeladonHotelText3
CeladonHotelText1:
- TX_FAR _CeladonHotelText1
- db "@"
+ text_far _CeladonHotelText1
+ text_end
CeladonHotelText2:
- TX_FAR _CeladonHotelText2
- db "@"
+ text_far _CeladonHotelText2
+ text_end
CeladonHotelText3:
- TX_FAR _CeladonHotelText3
- db "@"
+ text_far _CeladonHotelText3
+ text_end
diff --git a/scripts/CeladonMansion1F.asm b/scripts/CeladonMansion1F.asm
index 41524983..2a386aad 100755
--- a/scripts/CeladonMansion1F.asm
+++ b/scripts/CeladonMansion1F.asm
@@ -13,27 +13,27 @@ CeladonMansion1_486a1:
jp TextScriptEnd
CeladonMansion1Text1:
- TX_FAR _CeladonMansion1Text1
- TX_ASM
+ text_far _CeladonMansion1Text1
+ text_asm
ld a, MEOWTH
jp CeladonMansion1_486a1
CeladonMansion1Text2:
- TX_FAR _CeladonMansion1Text2
- db "@"
+ text_far _CeladonMansion1Text2
+ text_end
CeladonMansion1Text3:
- TX_FAR _CeladonMansion1Text3
- TX_ASM
+ text_far _CeladonMansion1Text3
+ text_asm
ld a, CLEFAIRY
jp CeladonMansion1_486a1
CeladonMansion1Text4:
- TX_FAR _CeladonMansion1Text4
- TX_ASM
+ text_far _CeladonMansion1Text4
+ text_asm
ld a, NIDORAN_F
jp CeladonMansion1_486a1
CeladonMansion1Text5:
- TX_FAR _CeladonMansion1Text5
- db "@"
+ text_far _CeladonMansion1Text5
+ text_end
diff --git a/scripts/CeladonMansion2F.asm b/scripts/CeladonMansion2F.asm
index 9deb606d..8f83e86a 100755
--- a/scripts/CeladonMansion2F.asm
+++ b/scripts/CeladonMansion2F.asm
@@ -6,5 +6,5 @@ CeladonMansion2F_TextPointers:
dw CeladonMansion2Text1
CeladonMansion2Text1:
- TX_FAR _CeladonMansion2Text1
- db "@"
+ text_far _CeladonMansion2Text1
+ text_end
diff --git a/scripts/CeladonMansion3F.asm b/scripts/CeladonMansion3F.asm
index 43832f63..c9085b32 100755
--- a/scripts/CeladonMansion3F.asm
+++ b/scripts/CeladonMansion3F.asm
@@ -12,19 +12,19 @@ CeladonMansion3F_TextPointers:
dw GameFreakSignText
ProgrammerText:
- TX_FAR _ProgrammerText
- db "@"
+ text_far _ProgrammerText
+ text_end
GraphicArtistText:
- TX_FAR _GraphicArtistText
- db "@"
+ text_far _GraphicArtistText
+ text_end
WriterText:
- TX_FAR _WriterText
- db "@"
+ text_far _WriterText
+ text_end
DirectorText:
- TX_ASM
+ text_asm
; check pokédex
ld hl, wPokedexOwned
@@ -42,30 +42,30 @@ DirectorText:
jp TextScriptEnd
.GameDesigner
- TX_FAR _GameDesignerText
- db "@"
+ text_far _GameDesignerText
+ text_end
.CompletedDexText
- TX_FAR _CompletedDexText
- TX_BLINK
- TX_ASM
+ text_far _CompletedDexText
+ text_promptbutton
+ text_asm
callab DisplayDiploma
ld a, $1
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
jp TextScriptEnd
GameFreakPCText1:
- TX_FAR _CeladonMansion3Text5
- db "@"
+ text_far _CeladonMansion3Text5
+ text_end
GameFreakPCText2:
- TX_FAR _CeladonMansion3Text6
- db "@"
+ text_far _CeladonMansion3Text6
+ text_end
GameFreakPCText3:
- TX_FAR _CeladonMansion3Text7
- db "@"
+ text_far _CeladonMansion3Text7
+ text_end
GameFreakSignText:
- TX_FAR _CeladonMansion3Text8
- db "@"
+ text_far _CeladonMansion3Text8
+ text_end
diff --git a/scripts/CeladonMansionRoof.asm b/scripts/CeladonMansionRoof.asm
index d5028537..860fcbdf 100755
--- a/scripts/CeladonMansionRoof.asm
+++ b/scripts/CeladonMansionRoof.asm
@@ -5,5 +5,5 @@ CeladonMansionRoof_TextPointers:
dw CeladonMansion4Text1
CeladonMansion4Text1:
- TX_FAR _CeladonMansion4Text1
- db "@"
+ text_far _CeladonMansion4Text1
+ text_end
diff --git a/scripts/CeladonMansionRoofHouse.asm b/scripts/CeladonMansionRoofHouse.asm
index e519d506..28cec151 100755
--- a/scripts/CeladonMansionRoofHouse.asm
+++ b/scripts/CeladonMansionRoofHouse.asm
@@ -6,11 +6,11 @@ CeladonMansionRoofHouse_TextPointers:
dw CeladonMansion5Text2
CeladonMansion5Text1:
- TX_FAR _CeladonMansion5Text1
- db "@"
+ text_far _CeladonMansion5Text1
+ text_end
CeladonMansion5Text2:
- TX_ASM
+ text_asm
lb bc, EEVEE, 25
call GivePokemon
jr nc, .asm_24365
diff --git a/scripts/CeladonMart1F.asm b/scripts/CeladonMart1F.asm
index 8afd805a..dca3c796 100755
--- a/scripts/CeladonMart1F.asm
+++ b/scripts/CeladonMart1F.asm
@@ -7,13 +7,13 @@ CeladonMart1F_TextPointers:
dw CeladonMart1Text3
CeladonMart1Text1:
- TX_FAR _CeladonMart1Text1
- db "@"
+ text_far _CeladonMart1Text1
+ text_end
CeladonMart1Text2:
- TX_FAR _CeladonMart1Text2
- db "@"
+ text_far _CeladonMart1Text2
+ text_end
CeladonMart1Text3:
- TX_FAR _CeladonMart1Text3
- db "@"
+ text_far _CeladonMart1Text3
+ text_end
diff --git a/scripts/CeladonMart2F.asm b/scripts/CeladonMart2F.asm
index 787c186e..11827128 100755
--- a/scripts/CeladonMart2F.asm
+++ b/scripts/CeladonMart2F.asm
@@ -9,13 +9,13 @@ CeladonMart2F_TextPointers:
dw CeladonMart2Text5
CeladonMart2Text3:
- TX_FAR _CeladonMart2Text3
- db "@"
+ text_far _CeladonMart2Text3
+ text_end
CeladonMart2Text4:
- TX_FAR _CeladonMart2Text4
- db "@"
+ text_far _CeladonMart2Text4
+ text_end
CeladonMart2Text5:
- TX_FAR _CeladonMart2Text5
- db "@"
+ text_far _CeladonMart2Text5
+ text_end
diff --git a/scripts/CeladonMart3F.asm b/scripts/CeladonMart3F.asm
index c8d8b509..c70f18d4 100755
--- a/scripts/CeladonMart3F.asm
+++ b/scripts/CeladonMart3F.asm
@@ -21,7 +21,7 @@ CeladonMart3F_TextPointers:
dw CeladonMart3Text17
CeladonMart3Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_TM18
jr nz, .asm_a5463
ld hl, TM18PreReceiveText
@@ -42,67 +42,67 @@ CeladonMart3Text1:
jp TextScriptEnd
TM18PreReceiveText:
- TX_FAR _TM18PreReceiveText
- db "@"
+ text_far _TM18PreReceiveText
+ text_end
ReceivedTM18Text:
- TX_FAR _ReceivedTM18Text
- TX_SFX_ITEM_1
- db "@"
+ text_far _ReceivedTM18Text
+ sound_get_item_1
+ text_end
TM18ExplanationText:
- TX_FAR _TM18ExplanationText
- db "@"
+ text_far _TM18ExplanationText
+ text_end
TM18NoRoomText:
- TX_FAR _TM18NoRoomText
- db "@"
+ text_far _TM18NoRoomText
+ text_end
CeladonMart3Text2:
- TX_FAR _CeladonMart3Text2
- db "@"
+ text_far _CeladonMart3Text2
+ text_end
CeladonMart3Text3:
- TX_FAR _CeladonMart3Text3
- db "@"
+ text_far _CeladonMart3Text3
+ text_end
CeladonMart3Text4:
- TX_FAR _CeladonMart3Text4
- db "@"
+ text_far _CeladonMart3Text4
+ text_end
CeladonMart3Text5:
- TX_FAR _CeladonMart3Text5
- db "@"
+ text_far _CeladonMart3Text5
+ text_end
CeladonMart3Text12:
CeladonMart3Text10:
CeladonMart3Text8:
CeladonMart3Text6:
- TX_FAR _CeladonMart3Text6
- db "@"
+ text_far _CeladonMart3Text6
+ text_end
CeladonMart3Text7:
- TX_FAR _CeladonMart3Text7
- db "@"
+ text_far _CeladonMart3Text7
+ text_end
CeladonMart3Text9:
- TX_FAR _CeladonMart3Text9
- db "@"
+ text_far _CeladonMart3Text9
+ text_end
CeladonMart3Text11:
- TX_FAR _CeladonMart3Text11
- db "@"
+ text_far _CeladonMart3Text11
+ text_end
CeladonMart3Text13:
- TX_FAR _CeladonMart3Text13
- db "@"
+ text_far _CeladonMart3Text13
+ text_end
CeladonMart3Text14:
- TX_FAR _CeladonMart3Text14
- db "@"
+ text_far _CeladonMart3Text14
+ text_end
CeladonMart3Text17:
CeladonMart3Text16:
CeladonMart3Text15:
- TX_FAR _CeladonMart3Text15
- db "@"
+ text_far _CeladonMart3Text15
+ text_end
diff --git a/scripts/CeladonMart4F.asm b/scripts/CeladonMart4F.asm
index 20f817e9..1365dd0d 100755
--- a/scripts/CeladonMart4F.asm
+++ b/scripts/CeladonMart4F.asm
@@ -8,13 +8,13 @@ CeladonMart4F_TextPointers:
dw CeladonMart4Text4
CeladonMart4Text2:
- TX_FAR _CeladonMart4Text2
- db "@"
+ text_far _CeladonMart4Text2
+ text_end
CeladonMart4Text3:
- TX_FAR _CeladonMart4Text3
- db "@"
+ text_far _CeladonMart4Text3
+ text_end
CeladonMart4Text4:
- TX_FAR _CeladonMart4Text4
- db "@"
+ text_far _CeladonMart4Text4
+ text_end
diff --git a/scripts/CeladonMart5F.asm b/scripts/CeladonMart5F.asm
index 9f52f866..91748706 100755
--- a/scripts/CeladonMart5F.asm
+++ b/scripts/CeladonMart5F.asm
@@ -9,13 +9,13 @@ CeladonMart5F_TextPointers:
dw CeladonMart5Text5
CeladonMart5Text1:
- TX_FAR _CeladonMart5Text1
- db "@"
+ text_far _CeladonMart5Text1
+ text_end
CeladonMart5Text2:
- TX_FAR _CeladonMart5Text2
- db "@"
+ text_far _CeladonMart5Text2
+ text_end
CeladonMart5Text5:
- TX_FAR _CeladonMart5Text5
- db "@"
+ text_far _CeladonMart5Text5
+ text_end
diff --git a/scripts/CeladonMartElevator.asm b/scripts/CeladonMartElevator.asm
index 34b923f9..bcac0d14 100755
--- a/scripts/CeladonMartElevator.asm
+++ b/scripts/CeladonMartElevator.asm
@@ -66,7 +66,7 @@ CeladonMartElevator_TextPointers:
dw CeladonMartElevatorText1
CeladonMartElevatorText1:
- TX_ASM
+ text_asm
call CeladonMartElevatorScript_48631
ld hl, CeladonMartElevatorWarpMaps
predef DisplayElevatorFloorMenu
diff --git a/scripts/CeladonMartRoof.asm b/scripts/CeladonMartRoof.asm
index 35c740b2..7c1d7039 100755
--- a/scripts/CeladonMartRoof.asm
+++ b/scripts/CeladonMartRoof.asm
@@ -134,54 +134,54 @@ RemoveItemByIDBank12:
jpba RemoveItemByID
CeladonMartRoofText_484ee:
- TX_FAR _CeladonMartRoofText_484ee
- db "@"
+ text_far _CeladonMartRoofText_484ee
+ text_end
CeladonMartRoofText_484f3:
- TX_FAR _CeladonMartRoofText_484f3
- TX_WAIT
- db "@"
+ text_far _CeladonMartRoofText_484f3
+ text_linkpromptbutton
+ text_end
CeladonMartRoofText_484f9:
- TX_FAR _CeladonMartRoofText_484f9
- TX_SFX_ITEM_1
- TX_FAR _CeladonMartRoofText_484fe
- TX_WAIT
- db "@"
+ text_far _CeladonMartRoofText_484f9
+ sound_get_item_1
+ text_far _CeladonMartRoofText_484fe
+ text_linkpromptbutton
+ text_end
CeladonMartRoofText_48504:
- TX_FAR _CeladonMartRoofText_48504
- TX_WAIT
- db "@"
+ text_far _CeladonMartRoofText_48504
+ text_linkpromptbutton
+ text_end
CeladonMartRoofText_4850a:
- TX_FAR _CeladonMartRoofText_4850a
- TX_SFX_ITEM_1
- TX_FAR _CeladonMartRoofText_4850f
- TX_WAIT
- db "@"
+ text_far _CeladonMartRoofText_4850a
+ sound_get_item_1
+ text_far _CeladonMartRoofText_4850f
+ text_linkpromptbutton
+ text_end
CeladonMartRoofText_48515:
- TX_FAR _CeladonMartRoofText_48515
- TX_WAIT
- db "@"
+ text_far _CeladonMartRoofText_48515
+ text_linkpromptbutton
+ text_end
ReceivedTM49Text:
- TX_FAR _ReceivedTM49Text
- TX_SFX_ITEM_1
- TX_FAR _CeladonMartRoofText_48520
- TX_WAIT
- db "@"
+ text_far _ReceivedTM49Text
+ sound_get_item_1
+ text_far _CeladonMartRoofText_48520
+ text_linkpromptbutton
+ text_end
CeladonMartRoofText_48526:
- TX_FAR _CeladonMartRoofText_48526
- TX_WAIT
- db "@"
+ text_far _CeladonMartRoofText_48526
+ text_linkpromptbutton
+ text_end
CeladonMartRoofText_4852c:
- TX_FAR _CeladonMartRoofText_4852c
- TX_WAIT
- db "@"
+ text_far _CeladonMartRoofText_4852c
+ text_linkpromptbutton
+ text_end
CeladonMartRoofScript_PrintDrinksInBag:
ld hl, wFilteredBagItems
@@ -214,11 +214,11 @@ CeladonMartRoof_TextPointers:
dw CeladonMartRoofText6
CeladonMartRoofText1:
- TX_FAR _CeladonMartRoofText1
- db "@"
+ text_far _CeladonMartRoofText1
+ text_end
CeladonMartRoofText2:
- TX_ASM
+ text_asm
call CeladonMartRoofScript_GetDrinksInBag
ld a, [wFilteredBagItemsCount]
and a
@@ -240,16 +240,16 @@ CeladonMartRoofText2:
jp TextScriptEnd
CeladonMartRoofText3:
- TX_FAR _CeladonMartRoofText_48598
- db "@"
+ text_far _CeladonMartRoofText_48598
+ text_end
CeladonMartRoofText4:
- TX_FAR _CeladonMartRoofText4
- db "@"
+ text_far _CeladonMartRoofText4
+ text_end
CeladonMartRoofText5:
- TX_VENDING_MACHINE
+ script_vending_machine
CeladonMartRoofText6:
- TX_FAR _CeladonMartRoofText6
- db "@"
+ text_far _CeladonMartRoofText6
+ text_end
diff --git a/scripts/CeladonPokecenter.asm b/scripts/CeladonPokecenter.asm
index b5efb7d5..0f28e1b2 100755
--- a/scripts/CeladonPokecenter.asm
+++ b/scripts/CeladonPokecenter.asm
@@ -9,15 +9,15 @@ CeladonPokecenter_TextPointers:
dw CeladonTradeNurseText
CeladonTradeNurseText:
- TX_CABLE_CLUB_RECEPTIONIST
+ script_cable_club_receptionist
CeladonHealNurseText:
- TX_POKECENTER_NURSE
+ script_pokecenter_nurse
CeladonPokecenterText2:
- TX_FAR _CeladonPokecenterText2
- db "@"
+ text_far _CeladonPokecenterText2
+ text_end
CeladonPokecenterText3:
- TX_FAR _CeladonPokecenterText3
- db "@"
+ text_far _CeladonPokecenterText3
+ text_end
diff --git a/scripts/CeruleanBadgeHouse.asm b/scripts/CeruleanBadgeHouse.asm
index cab2bf23..e1e4ab44 100755
--- a/scripts/CeruleanBadgeHouse.asm
+++ b/scripts/CeruleanBadgeHouse.asm
@@ -9,7 +9,7 @@ CeruleanBadgeHouse_TextPointers:
dw CeruleanHouse2Text1
CeruleanHouse2Text1:
- TX_ASM
+ text_asm
ld hl, CeruleanHouse2Text_74e77
call PrintText
xor a
@@ -55,16 +55,16 @@ BadgeItemList:
db $8,BOULDERBADGE,CASCADEBADGE,THUNDERBADGE,RAINBOWBADGE,SOULBADGE,MARSHBADGE,VOLCANOBADGE,EARTHBADGE,$FF
CeruleanHouse2Text_74e77:
- TX_FAR _CeruleanHouse2Text_74e77
- db "@"
+ text_far _CeruleanHouse2Text_74e77
+ text_end
CeruleanHouse2Text_74e7c:
- TX_FAR _CeruleanHouse2Text_74e7c
- db "@"
+ text_far _CeruleanHouse2Text_74e7c
+ text_end
CeruleanHouse2Text_74e81:
- TX_FAR _CeruleanHouse2Text_74e81
- db "@"
+ text_far _CeruleanHouse2Text_74e81
+ text_end
TextPointers_74e86:
dw CeruleanHouse2Text_74e96
@@ -77,33 +77,33 @@ TextPointers_74e86:
dw CeruleanHouse2Text_74eb9
CeruleanHouse2Text_74e96:
- TX_FAR _CeruleanHouse2Text_74e96
- db "@"
+ text_far _CeruleanHouse2Text_74e96
+ text_end
CeruleanHouse2Text_74e9b:
- TX_FAR _CeruleanHouse2Text_74e9b
- db "@"
+ text_far _CeruleanHouse2Text_74e9b
+ text_end
CeruleanHouse2Text_74ea0:
- TX_FAR _CeruleanHouse2Text_74ea0
- db "@"
+ text_far _CeruleanHouse2Text_74ea0
+ text_end
CeruleanHouse2Text_74ea5:
- TX_FAR _CeruleanHouse2Text_74ea5
- db "@"
+ text_far _CeruleanHouse2Text_74ea5
+ text_end
CeruleanHouse2Text_74eaa:
- TX_FAR _CeruleanHouse2Text_74eaa
- db "@"
+ text_far _CeruleanHouse2Text_74eaa
+ text_end
CeruleanHouse2Text_74eaf:
- TX_FAR _CeruleanHouse2Text_74eaf
- db "@"
+ text_far _CeruleanHouse2Text_74eaf
+ text_end
CeruleanHouse2Text_74eb4:
- TX_FAR _CeruleanHouse2Text_74eb4
- db "@"
+ text_far _CeruleanHouse2Text_74eb4
+ text_end
CeruleanHouse2Text_74eb9:
- TX_FAR _CeruleanHouse2Text_74eb9
- db "@"
+ text_far _CeruleanHouse2Text_74eb9
+ text_end
diff --git a/scripts/CeruleanCaveB1F.asm b/scripts/CeruleanCaveB1F.asm
index 9017bec3..52239085 100755
--- a/scripts/CeruleanCaveB1F.asm
+++ b/scripts/CeruleanCaveB1F.asm
@@ -29,14 +29,14 @@ MewtwoTrainerHeader:
db $ff
MewtwoText:
- TX_ASM
+ text_asm
ld hl, MewtwoTrainerHeader
call TalkToTrainer
jp TextScriptEnd
MewtwoBattleText:
- TX_FAR _MewtwoBattleText
- TX_ASM
+ text_far _MewtwoBattleText
+ text_asm
ld a, MEWTWO
call PlayCry
call WaitForSoundToFinish
diff --git a/scripts/CeruleanCity.asm b/scripts/CeruleanCity.asm
index 61dd03f6..410ed485 100755
--- a/scripts/CeruleanCity.asm
+++ b/scripts/CeruleanCity.asm
@@ -247,7 +247,7 @@ CeruleanCity_TextPointers:
dw CeruleanCityText17
CeruleanCityText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_CERULEAN_RIVAL
; do pre-battle text
jr z, .PreBattleText
@@ -262,23 +262,23 @@ CeruleanCityText1:
jp TextScriptEnd
CeruleanCityText_19668:
- TX_FAR _CeruleanCityText_19668
- db "@"
+ text_far _CeruleanCityText_19668
+ text_end
CeruleanCityText_1966d:
- TX_FAR _CeruleanCityText_1966d
- db "@"
+ text_far _CeruleanCityText_1966d
+ text_end
CeruleanCityText_19672:
- TX_FAR _CeruleanCityText_19672
- db "@"
+ text_far _CeruleanCityText_19672
+ text_end
CeruleanCityText_19677:
- TX_FAR _CeruleanCityText_19677
- db "@"
+ text_far _CeruleanCityText_19677
+ text_end
CeruleanCityText2:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_CERULEAN_ROCKET_THIEF
jr nz, .asm_4ca20
ld hl, CeruleanCityText_196d9
@@ -315,47 +315,47 @@ CeruleanCityText2:
jp TextScriptEnd
CeruleanCityText_196d9:
- TX_FAR _CeruleanCityText_196d9
- db "@"
+ text_far _CeruleanCityText_196d9
+ text_end
ReceivedTM28Text:
- TX_FAR _ReceivedTM28Text
- TX_SFX_ITEM_1
- TX_FAR _ReceivedTM28Text2
- TX_WAIT
- db "@"
+ text_far _ReceivedTM28Text
+ sound_get_item_1
+ text_far _ReceivedTM28Text2
+ text_linkpromptbutton
+ text_end
TM28NoRoomText:
- TX_FAR _TM28NoRoomText
- db "@"
+ text_far _TM28NoRoomText
+ text_end
CeruleanCityText_196ee:
- TX_FAR _CeruleanCityText_196ee
- db "@"
+ text_far _CeruleanCityText_196ee
+ text_end
CeruleanCityText_196f3:
- TX_FAR _CeruleanCityText_196f3
- db "@"
+ text_far _CeruleanCityText_196f3
+ text_end
CeruleanCityText3:
- TX_FAR _CeruleanCityText3
- db "@"
+ text_far _CeruleanCityText3
+ text_end
CeruleanCityText4:
- TX_FAR _CeruleanCityText4
- db "@"
+ text_far _CeruleanCityText4
+ text_end
CeruleanCityText5:
- TX_FAR _CeruleanCityText5
- db "@"
+ text_far _CeruleanCityText5
+ text_end
CeruleanCityText11:
CeruleanCityText6:
- TX_FAR _CeruleanCityText6
- db "@"
+ text_far _CeruleanCityText6
+ text_end
CeruleanCityText7:
- TX_ASM
+ text_asm
ld a, [hRandomAdd]
cp 180
jr c, .asm_e9fc9
@@ -375,19 +375,19 @@ CeruleanCityText7:
jp TextScriptEnd
CeruleanCityText_19730:
- TX_FAR _CeruleanCityText_19730
- db "@"
+ text_far _CeruleanCityText_19730
+ text_end
CeruleanCityText_19735:
- TX_FAR _CeruleanCityText_19735
- db "@"
+ text_far _CeruleanCityText_19735
+ text_end
CeruleanCityText_1973a:
- TX_FAR _CeruleanCityText_1973a
- db "@"
+ text_far _CeruleanCityText_1973a
+ text_end
CeruleanCityText8:
- TX_ASM
+ text_asm
ld a, [hRandomAdd]
cp 180
jr c, .asm_e28da
@@ -413,41 +413,41 @@ CeruleanCityText8:
jp TextScriptEnd
CeruleanCityText_1976f:
- TX_FAR _CeruleanCityText_1976f
- db "@"
+ text_far _CeruleanCityText_1976f
+ text_end
CeruleanCityText_19774:
- TX_FAR _CeruleanCityText_19774
- db "@"
+ text_far _CeruleanCityText_19774
+ text_end
CeruleanCityText_19779:
- TX_FAR _CeruleanCityText_19779
- db "@"
+ text_far _CeruleanCityText_19779
+ text_end
CeruleanCityText_1977e:
- TX_FAR _CeruleanCityText_1977e
- db "@"
+ text_far _CeruleanCityText_1977e
+ text_end
CeruleanCityText9:
- TX_FAR _CeruleanCityText9
- db "@"
+ text_far _CeruleanCityText9
+ text_end
CeruleanCityText10:
- TX_FAR _CeruleanCityText10
- db "@"
+ text_far _CeruleanCityText10
+ text_end
CeruleanCityText12:
- TX_FAR _CeruleanCityText12
- db "@"
+ text_far _CeruleanCityText12
+ text_end
CeruleanCityText13:
- TX_FAR _CeruleanCityText13
- db "@"
+ text_far _CeruleanCityText13
+ text_end
CeruleanCityText16:
- TX_FAR _CeruleanCityText16
- db "@"
+ text_far _CeruleanCityText16
+ text_end
CeruleanCityText17:
- TX_FAR _CeruleanCityText17
- db "@"
+ text_far _CeruleanCityText17
+ text_end
diff --git a/scripts/CeruleanGym.asm b/scripts/CeruleanGym.asm
index a3a8f18d..ed3bed14 100755
--- a/scripts/CeruleanGym.asm
+++ b/scripts/CeruleanGym.asm
@@ -100,7 +100,7 @@ CeruleanGymTrainerHeader1:
db $ff
CeruleanGymText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_MISTY
jr z, .beginBattle
CheckEventReuseA EVENT_GOT_TM11
@@ -135,70 +135,70 @@ CeruleanGymText1:
jp TextScriptEnd
CeruleanGymText_5c7be:
- TX_FAR _CeruleanGymText_5c7be
- db "@"
+ text_far _CeruleanGymText_5c7be
+ text_end
CeruleanGymText_5c7c3:
- TX_FAR _CeruleanGymText_5c7c3
- db "@"
+ text_far _CeruleanGymText_5c7c3
+ text_end
CeruleanGymText5:
- TX_FAR _CeruleanGymText_5c7c8
- db "@"
+ text_far _CeruleanGymText_5c7c8
+ text_end
CeruleanGymText6:
- TX_FAR _ReceivedTM11Text
- TX_SFX_ITEM_1
- db "@"
+ text_far _ReceivedTM11Text
+ sound_get_item_1
+ text_end
CeruleanGymText7:
- TX_FAR _CeruleanGymText_5c7d3
- db "@"
+ text_far _CeruleanGymText_5c7d3
+ text_end
CeruleanGymText_5c7d8:
- TX_FAR _CeruleanGymText_5c7d8
- TX_SFX_KEY_ITEM ; actually plays the second channel of SFX_BALL_POOF due to the wrong music bank being loaded
- TX_BLINK
- db "@"
+ text_far _CeruleanGymText_5c7d8
+ sound_get_key_item ; actually plays the second channel of SFX_BALL_POOF due to the wrong music bank being loaded
+ text_promptbutton
+ text_end
CeruleanGymText2:
- TX_ASM
+ text_asm
ld hl, CeruleanGymTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
CeruleanGymBattleText1:
- TX_FAR _CeruleanGymBattleText1
- db "@"
+ text_far _CeruleanGymBattleText1
+ text_end
CeruleanGymEndBattleText1:
- TX_FAR _CeruleanGymEndBattleText1
- db "@"
+ text_far _CeruleanGymEndBattleText1
+ text_end
CeruleanGymAfterBattleText1:
- TX_FAR _CeruleanGymAfterBattleText1
- db "@"
+ text_far _CeruleanGymAfterBattleText1
+ text_end
CeruleanGymText3:
- TX_ASM
+ text_asm
ld hl, CeruleanGymTrainerHeader1
call TalkToTrainer
jp TextScriptEnd
CeruleanGymBattleText2:
- TX_FAR _CeruleanGymBattleText2
- db "@"
+ text_far _CeruleanGymBattleText2
+ text_end
CeruleanGymEndBattleText2:
- TX_FAR _CeruleanGymEndBattleText2
- db "@"
+ text_far _CeruleanGymEndBattleText2
+ text_end
CeruleanGymAfterBattleText2:
- TX_FAR _CeruleanGymAfterBattleText2
- db "@"
+ text_far _CeruleanGymAfterBattleText2
+ text_end
CeruleanGymText4:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_MISTY
jr nz, .asm_5c821
ld hl, CeruleanGymText_5c82a
@@ -211,9 +211,9 @@ CeruleanGymText4:
jp TextScriptEnd
CeruleanGymText_5c82a:
- TX_FAR _CeruleanGymText_5c82a
- db "@"
+ text_far _CeruleanGymText_5c82a
+ text_end
CeruleanGymText_5c82f:
- TX_FAR _CeruleanGymText_5c82f
- db "@"
+ text_far _CeruleanGymText_5c82f
+ text_end
diff --git a/scripts/CeruleanMart.asm b/scripts/CeruleanMart.asm
index f812aadd..beb0fa1b 100755
--- a/scripts/CeruleanMart.asm
+++ b/scripts/CeruleanMart.asm
@@ -7,9 +7,9 @@ CeruleanMart_TextPointers:
dw CeruleanMartText3
CeruleanMartText2:
- TX_FAR _CeruleanMartText2
- db "@"
+ text_far _CeruleanMartText2
+ text_end
CeruleanMartText3:
- TX_FAR _CeruleanMartText3
- db "@"
+ text_far _CeruleanMartText3
+ text_end
diff --git a/scripts/CeruleanPokecenter.asm b/scripts/CeruleanPokecenter.asm
index 82bd04f3..680640f4 100755
--- a/scripts/CeruleanPokecenter.asm
+++ b/scripts/CeruleanPokecenter.asm
@@ -9,15 +9,15 @@ CeruleanPokecenter_TextPointers:
dw CeruleanTradeNurseText
CeruleanTradeNurseText:
- TX_CABLE_CLUB_RECEPTIONIST
+ script_cable_club_receptionist
CeruleanHealNurseText:
- TX_POKECENTER_NURSE
+ script_pokecenter_nurse
CeruleanPokecenterText2:
- TX_FAR _CeruleanPokecenterText2
- db "@"
+ text_far _CeruleanPokecenterText2
+ text_end
CeruleanPokecenterText3:
- TX_FAR _CeruleanPokecenterText3
- db "@"
+ text_far _CeruleanPokecenterText3
+ text_end
diff --git a/scripts/CeruleanTradeHouse.asm b/scripts/CeruleanTradeHouse.asm
index f80da19a..ba88f1b5 100755
--- a/scripts/CeruleanTradeHouse.asm
+++ b/scripts/CeruleanTradeHouse.asm
@@ -6,11 +6,11 @@ CeruleanTradeHouse_TextPointers:
dw CeruleanHouse1Text2
CeruleanHouse1Text1:
- TX_FAR _CeruleanHouse1Text1
- db "@"
+ text_far _CeruleanHouse1Text1
+ text_end
CeruleanHouse1Text2:
- TX_ASM
+ text_asm
ld a, $6
ld [wWhichTrade], a
predef DoInGameTradeDialogue
diff --git a/scripts/CeruleanTrashedHouse.asm b/scripts/CeruleanTrashedHouse.asm
index f249ef01..0d1e6ac3 100755
--- a/scripts/CeruleanTrashedHouse.asm
+++ b/scripts/CeruleanTrashedHouse.asm
@@ -8,7 +8,7 @@ CeruleanTrashedHouse_TextPointers:
dw CeruleanHouseTrashedText3
CeruleanHouseTrashedText1:
- TX_ASM
+ text_asm
ld b, $e4
predef GetQuantityOfItemInBag
and b
@@ -23,17 +23,17 @@ CeruleanHouseTrashedText1:
jp TextScriptEnd
CeruleanHouseTrashedText_1d6ab:
- TX_FAR _CeruleanTrashedText_1d6ab
- db "@"
+ text_far _CeruleanTrashedText_1d6ab
+ text_end
CeruleanHouseTrashedText_1d6b0:
- TX_FAR _CeruleanTrashedText_1d6b0
- db "@"
+ text_far _CeruleanTrashedText_1d6b0
+ text_end
CeruleanHouseTrashedText2:
- TX_FAR _CeruleanHouseTrashedText2
- db "@"
+ text_far _CeruleanHouseTrashedText2
+ text_end
CeruleanHouseTrashedText3:
- TX_FAR _CeruleanHouseTrashedText3
- db "@"
+ text_far _CeruleanHouseTrashedText3
+ text_end
diff --git a/scripts/ChampionsRoom.asm b/scripts/ChampionsRoom.asm
index 506dc525..ef6ff8fb 100755
--- a/scripts/ChampionsRoom.asm
+++ b/scripts/ChampionsRoom.asm
@@ -247,7 +247,7 @@ ChampionsRoom_TextPointers:
dw GaryText5
GaryText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_CHAMPION_RIVAL
ld hl, GaryChampionIntroText
jr z, .printText
@@ -257,27 +257,27 @@ GaryText1:
jp TextScriptEnd
GaryChampionIntroText:
- TX_FAR _GaryChampionIntroText
- db "@"
+ text_far _GaryChampionIntroText
+ text_end
GaryDefeatedText:
- TX_FAR _GaryDefeatedText
- db "@"
+ text_far _GaryDefeatedText
+ text_end
GaryVictoryText:
- TX_FAR _GaryVictoryText
- db "@"
+ text_far _GaryVictoryText
+ text_end
GaryText_76103:
- TX_FAR _GaryText_76103
- db "@"
+ text_far _GaryText_76103
+ text_end
GaryText2:
- TX_FAR _GaryText2
- db "@"
+ text_far _GaryText2
+ text_end
GaryText3:
- TX_ASM
+ text_asm
ld a, [wPlayerStarter]
ld [wd11e], a
call GetMonName
@@ -286,13 +286,13 @@ GaryText3:
jp TextScriptEnd
GaryText_76120:
- TX_FAR _GaryText_76120
- db "@"
+ text_far _GaryText_76120
+ text_end
GaryText4:
- TX_FAR _GaryText_76125
- db "@"
+ text_far _GaryText_76125
+ text_end
GaryText5:
- TX_FAR _GaryText_7612a
- db "@"
+ text_far _GaryText_7612a
+ text_end
diff --git a/scripts/CinnabarGym.asm b/scripts/CinnabarGym.asm
index 08bbbe8b..cde00d61 100755
--- a/scripts/CinnabarGym.asm
+++ b/scripts/CinnabarGym.asm
@@ -205,7 +205,7 @@ CinnabarGymScript_758b7:
jp TextScriptEnd
CinnabarGymText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_BLAINE
jr z, .beginBattle
CheckEventReuseA EVENT_GOT_TM38
@@ -228,35 +228,35 @@ CinnabarGymText1:
jp CinnabarGymScript_758b7
BlaineBattleText:
- TX_FAR _BlaineBattleText
- db "@"
+ text_far _BlaineBattleText
+ text_end
BlaineEndBattleText:
- TX_FAR _BlaineEndBattleText
- TX_SFX_KEY_ITEM ; actually plays the second channel of SFX_BALL_POOF due to the wrong music bank being loaded
- TX_WAIT
- db "@"
+ text_far _BlaineEndBattleText
+ sound_get_key_item ; actually plays the second channel of SFX_BALL_POOF due to the wrong music bank being loaded
+ text_linkpromptbutton
+ text_end
BlaineFireBlastText:
- TX_FAR _BlaineFireBlastText
- db "@"
+ text_far _BlaineFireBlastText
+ text_end
BlaineBadgeText:
- TX_FAR _BlaineBadgeText
- db "@"
+ text_far _BlaineBadgeText
+ text_end
ReceivedTM38Text:
- TX_FAR _ReceivedTM38Text
- TX_SFX_ITEM_1
- TX_FAR _TM38ExplanationText
- db "@"
+ text_far _ReceivedTM38Text
+ sound_get_item_1
+ text_far _TM38ExplanationText
+ text_end
TM38NoRoomText:
- TX_FAR _TM38NoRoomText
- db "@"
+ text_far _TM38NoRoomText
+ text_end
CinnabarGymText2:
- TX_ASM
+ text_asm
call CinnabarGymScript_757a0
CheckEvent EVENT_BEAT_CINNABAR_GYM_TRAINER_0
jr nz, .asm_46bb4
@@ -272,19 +272,19 @@ CinnabarGymText2:
jp TextScriptEnd
CinnabarGymText_7595f:
- TX_FAR _CinnabarGymText_7595f
- db "@"
+ text_far _CinnabarGymText_7595f
+ text_end
CinnabarGymText_75964:
- TX_FAR _CinnabarGymText_75964
- db "@"
+ text_far _CinnabarGymText_75964
+ text_end
CinnabarGymText_75969:
- TX_FAR _CinnabarGymText_75969
- db "@"
+ text_far _CinnabarGymText_75969
+ text_end
CinnabarGymText3:
- TX_ASM
+ text_asm
call CinnabarGymScript_757a0
CheckEvent EVENT_BEAT_CINNABAR_GYM_TRAINER_1
jr nz, .asm_4b406
@@ -300,19 +300,19 @@ CinnabarGymText3:
jp TextScriptEnd
CinnabarGymText_75994:
- TX_FAR _CinnabarGymText_75994
- db "@"
+ text_far _CinnabarGymText_75994
+ text_end
CinnabarGymText_75999:
- TX_FAR _CinnabarGymText_75999
- db "@"
+ text_far _CinnabarGymText_75999
+ text_end
CinnabarGymText_7599e:
- TX_FAR _CinnabarGymText_7599e
- db "@"
+ text_far _CinnabarGymText_7599e
+ text_end
CinnabarGymText4:
- TX_ASM
+ text_asm
call CinnabarGymScript_757a0
CheckEvent EVENT_BEAT_CINNABAR_GYM_TRAINER_2
jr nz, .asm_c0673
@@ -328,19 +328,19 @@ CinnabarGymText4:
jp TextScriptEnd
CinnabarGymText_759c9:
- TX_FAR _CinnabarGymText_759c9
- db "@"
+ text_far _CinnabarGymText_759c9
+ text_end
CinnabarGymText_759ce:
- TX_FAR _CinnabarGymText_759ce
- db "@"
+ text_far _CinnabarGymText_759ce
+ text_end
CinnabarGymText_759d3:
- TX_FAR _CinnabarGymText_759d3
- db "@"
+ text_far _CinnabarGymText_759d3
+ text_end
CinnabarGymText5:
- TX_ASM
+ text_asm
call CinnabarGymScript_757a0
CheckEvent EVENT_BEAT_CINNABAR_GYM_TRAINER_3
jr nz, .asm_5cfd7
@@ -356,19 +356,19 @@ CinnabarGymText5:
jp TextScriptEnd
CinnabarGymText_759fe:
- TX_FAR _CinnabarGymText_759fe
- db "@"
+ text_far _CinnabarGymText_759fe
+ text_end
CinnabarGymText_75a03:
- TX_FAR _CinnabarGymText_75a03
- db "@"
+ text_far _CinnabarGymText_75a03
+ text_end
CinnabarGymText_75a08:
- TX_FAR _CinnabarGymText_75a08
- db "@"
+ text_far _CinnabarGymText_75a08
+ text_end
CinnabarGymText6:
- TX_ASM
+ text_asm
call CinnabarGymScript_757a0
CheckEvent EVENT_BEAT_CINNABAR_GYM_TRAINER_4
jr nz, .asm_776b4
@@ -384,19 +384,19 @@ CinnabarGymText6:
jp TextScriptEnd
CinnabarGymText_75a33:
- TX_FAR _CinnabarGymText_75a33
- db "@"
+ text_far _CinnabarGymText_75a33
+ text_end
CinnabarGymText_75a38:
- TX_FAR _CinnabarGymText_75a38
- db "@"
+ text_far _CinnabarGymText_75a38
+ text_end
CinnabarGymText_75a3d:
- TX_FAR _CinnabarGymText_75a3d
- db "@"
+ text_far _CinnabarGymText_75a3d
+ text_end
CinnabarGymText7:
- TX_ASM
+ text_asm
call CinnabarGymScript_757a0
CheckEvent EVENT_BEAT_CINNABAR_GYM_TRAINER_5
jr nz, .asm_2f755
@@ -412,19 +412,19 @@ CinnabarGymText7:
jp TextScriptEnd
CinnabarGymText_75a68:
- TX_FAR _CinnabarGymText_75a68
- db "@"
+ text_far _CinnabarGymText_75a68
+ text_end
CinnabarGymText_75a6d:
- TX_FAR _CinnabarGymText_75a6d
- db "@"
+ text_far _CinnabarGymText_75a6d
+ text_end
CinnabarGymText_75a72:
- TX_FAR _CinnabarGymText_75a72
- db "@"
+ text_far _CinnabarGymText_75a72
+ text_end
CinnabarGymText8:
- TX_ASM
+ text_asm
call CinnabarGymScript_757a0
CheckEvent EVENT_BEAT_CINNABAR_GYM_TRAINER_6
jr nz, .asm_d87be
@@ -440,19 +440,19 @@ CinnabarGymText8:
jp TextScriptEnd
CinnabarGymText_75a9d:
- TX_FAR _CinnabarGymText_75a9d
- db "@"
+ text_far _CinnabarGymText_75a9d
+ text_end
CinnabarGymText_75aa2:
- TX_FAR _CinnabarGymText_75aa2
- db "@"
+ text_far _CinnabarGymText_75aa2
+ text_end
CinnabarGymText_75aa7:
- TX_FAR _CinnabarGymText_75aa7
- db "@"
+ text_far _CinnabarGymText_75aa7
+ text_end
CinnabarGymText9:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_BLAINE
jr nz, .asm_627d9
ld hl, CinnabarGymText_75ac2
@@ -464,9 +464,9 @@ CinnabarGymText9:
jp TextScriptEnd
CinnabarGymText_75ac2:
- TX_FAR _CinnabarGymText_75ac2
- db "@"
+ text_far _CinnabarGymText_75ac2
+ text_end
CinnabarGymText_75ac7:
- TX_FAR _CinnabarGymText_75ac7
- db "@"
+ text_far _CinnabarGymText_75ac7
+ text_end
diff --git a/scripts/CinnabarIsland.asm b/scripts/CinnabarIsland.asm
index b6346a9c..9934d06f 100755
--- a/scripts/CinnabarIsland.asm
+++ b/scripts/CinnabarIsland.asm
@@ -61,25 +61,25 @@ CinnabarIsland_TextPointers:
dw CinnabarIslandText8
CinnabarIslandText8:
- TX_FAR _CinnabarIslandText8
- db "@"
+ text_far _CinnabarIslandText8
+ text_end
CinnabarIslandText1:
- TX_FAR _CinnabarIslandText1
- db "@"
+ text_far _CinnabarIslandText1
+ text_end
CinnabarIslandText2:
- TX_FAR _CinnabarIslandText2
- db "@"
+ text_far _CinnabarIslandText2
+ text_end
CinnabarIslandText3:
- TX_FAR _CinnabarIslandText3
- db "@"
+ text_far _CinnabarIslandText3
+ text_end
CinnabarIslandText6:
- TX_FAR _CinnabarIslandText6
- db "@"
+ text_far _CinnabarIslandText6
+ text_end
CinnabarIslandText7:
- TX_FAR _CinnabarIslandText7
- db "@"
+ text_far _CinnabarIslandText7
+ text_end
diff --git a/scripts/CinnabarLab.asm b/scripts/CinnabarLab.asm
index aab3324b..2f4be7f2 100755
--- a/scripts/CinnabarLab.asm
+++ b/scripts/CinnabarLab.asm
@@ -10,21 +10,21 @@ CinnabarLab_TextPointers:
dw Lab1Text5
Lab1Text1:
- TX_FAR _Lab1Text1
- db "@"
+ text_far _Lab1Text1
+ text_end
Lab1Text2:
- TX_FAR _Lab1Text2
- db "@"
+ text_far _Lab1Text2
+ text_end
Lab1Text3:
- TX_FAR _Lab1Text3
- db "@"
+ text_far _Lab1Text3
+ text_end
Lab1Text4:
- TX_FAR _Lab1Text4
- db "@"
+ text_far _Lab1Text4
+ text_end
Lab1Text5:
- TX_FAR _Lab1Text5
- db "@"
+ text_far _Lab1Text5
+ text_end
diff --git a/scripts/CinnabarLabFossilRoom.asm b/scripts/CinnabarLabFossilRoom.asm
index f5f03a19..ac33e6ee 100755
--- a/scripts/CinnabarLabFossilRoom.asm
+++ b/scripts/CinnabarLabFossilRoom.asm
@@ -47,7 +47,7 @@ FossilsList:
db $00
Lab4Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GAVE_FOSSIL_TO_LAB
jr nz, .asm_75d96
ld hl, Lab4Text_75dc6
@@ -83,23 +83,23 @@ Lab4Text1:
jr .asm_75d93
Lab4Text_75dc6:
- TX_FAR _Lab4Text_75dc6
- db "@"
+ text_far _Lab4Text_75dc6
+ text_end
Lab4Text_75dcb:
- TX_FAR _Lab4Text_75dcb
- db "@"
+ text_far _Lab4Text_75dcb
+ text_end
Lab4Text_75dd0:
- TX_FAR _Lab4Text_75dd0
- db "@"
+ text_far _Lab4Text_75dd0
+ text_end
Lab4Text_75dd5:
- TX_FAR _Lab4Text_75dd5
- db "@"
+ text_far _Lab4Text_75dd5
+ text_end
Lab4Text2:
- TX_ASM
+ text_asm
ld a, $3
ld [wWhichTrade], a
predef DoInGameTradeDialogue
diff --git a/scripts/CinnabarLabMetronomeRoom.asm b/scripts/CinnabarLabMetronomeRoom.asm
index 6eddceae..fd449736 100755
--- a/scripts/CinnabarLabMetronomeRoom.asm
+++ b/scripts/CinnabarLabMetronomeRoom.asm
@@ -9,7 +9,7 @@ CinnabarLabMetronomeRoom_TextPointers:
dw Lab3Text5
Lab3Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_TM35
jr nz, .asm_e551a
ld hl, TM35PreReceiveText
@@ -32,31 +32,31 @@ Lab3Text1:
jp TextScriptEnd
TM35PreReceiveText:
- TX_FAR _TM35PreReceiveText
- db "@"
+ text_far _TM35PreReceiveText
+ text_end
ReceivedTM35Text:
- TX_FAR _ReceivedTM35Text
- TX_SFX_ITEM_1
- db "@"
+ text_far _ReceivedTM35Text
+ sound_get_item_1
+ text_end
TM35ExplanationText:
- TX_FAR _TM35ExplanationText
- db "@"
+ text_far _TM35ExplanationText
+ text_end
TM35NoRoomText:
- TX_FAR _TM35NoRoomText
- db "@"
+ text_far _TM35NoRoomText
+ text_end
Lab3Text2:
- TX_FAR _Lab3Text2
- db "@"
+ text_far _Lab3Text2
+ text_end
Lab3Text4:
Lab3Text3:
- TX_FAR _Lab3Text3
- db "@"
+ text_far _Lab3Text3
+ text_end
Lab3Text5:
- TX_FAR _Lab3Text5
- db "@"
+ text_far _Lab3Text5
+ text_end
diff --git a/scripts/CinnabarLabTradeRoom.asm b/scripts/CinnabarLabTradeRoom.asm
index 6093ae14..d313c128 100755
--- a/scripts/CinnabarLabTradeRoom.asm
+++ b/scripts/CinnabarLabTradeRoom.asm
@@ -7,17 +7,17 @@ CinnabarLabTradeRoom_TextPointers:
dw Lab2Text3
Lab2Text1:
- TX_FAR _Lab2Text1
- db "@"
+ text_far _Lab2Text1
+ text_end
Lab2Text2:
- TX_ASM
+ text_asm
ld a, $7
ld [wWhichTrade], a
jr Lab2DoTrade
Lab2Text3:
- TX_ASM
+ text_asm
ld a, $8
ld [wWhichTrade], a
Lab2DoTrade:
diff --git a/scripts/CinnabarMart.asm b/scripts/CinnabarMart.asm
index 898948c7..e614bd29 100755
--- a/scripts/CinnabarMart.asm
+++ b/scripts/CinnabarMart.asm
@@ -7,9 +7,9 @@ CinnabarMart_TextPointers:
dw CinnabarMartText3
CinnabarMartText2:
- TX_FAR _CinnabarMartText2
- db "@"
+ text_far _CinnabarMartText2
+ text_end
CinnabarMartText3:
- TX_FAR _CinnabarMartText3
- db "@"
+ text_far _CinnabarMartText3
+ text_end
diff --git a/scripts/CinnabarPokecenter.asm b/scripts/CinnabarPokecenter.asm
index a6184bb0..9396f851 100755
--- a/scripts/CinnabarPokecenter.asm
+++ b/scripts/CinnabarPokecenter.asm
@@ -9,15 +9,15 @@ CinnabarPokecenter_TextPointers:
dw CinnabarTradeNurseText
CinnabarHealNurseText:
- TX_POKECENTER_NURSE
+ script_pokecenter_nurse
CinnabarPokecenterText2:
- TX_FAR _CinnabarPokecenterText2
- db "@"
+ text_far _CinnabarPokecenterText2
+ text_end
CinnabarPokecenterText3:
- TX_FAR _CinnabarPokecenterText3
- db "@"
+ text_far _CinnabarPokecenterText3
+ text_end
CinnabarTradeNurseText:
- TX_CABLE_CLUB_RECEPTIONIST
+ script_cable_club_receptionist
diff --git a/scripts/Colosseum.asm b/scripts/Colosseum.asm
index 8cc6b056..83d41bdc 100755
--- a/scripts/Colosseum.asm
+++ b/scripts/Colosseum.asm
@@ -5,5 +5,5 @@ Colosseum_TextPointers:
dw ColosseumText1
ColosseumText1:
- TX_FAR _ColosseumText1
- db "@"
+ text_far _ColosseumText1
+ text_end
diff --git a/scripts/CopycatsHouse1F.asm b/scripts/CopycatsHouse1F.asm
index a86625fc..fc5ff3cf 100755
--- a/scripts/CopycatsHouse1F.asm
+++ b/scripts/CopycatsHouse1F.asm
@@ -7,16 +7,16 @@ CopycatsHouse1F_TextPointers:
dw CopycatsHouse1FText3
CopycatsHouse1FText1:
- TX_FAR _CopycatsHouse1FText1
- db "@"
+ text_far _CopycatsHouse1FText1
+ text_end
CopycatsHouse1FText2:
- TX_FAR _CopycatsHouse1FText2
- db "@"
+ text_far _CopycatsHouse1FText2
+ text_end
CopycatsHouse1FText3:
- TX_FAR _CopycatsHouse1FText3
- TX_ASM
+ text_far _CopycatsHouse1FText3
+ text_asm
ld a, CHANSEY
call PlayCry
jp TextScriptEnd
diff --git a/scripts/CopycatsHouse2F.asm b/scripts/CopycatsHouse2F.asm
index 64612535..959aa249 100755
--- a/scripts/CopycatsHouse2F.asm
+++ b/scripts/CopycatsHouse2F.asm
@@ -11,7 +11,7 @@ CopycatsHouse2F_TextPointers:
dw CopycatsHouse2FText7
CopycatsHouse2FText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_TM31
jr nz, .asm_7ccf3
ld a, $1
@@ -44,46 +44,46 @@ CopycatsHouse2FText1:
jp TextScriptEnd
CopycatsHouse2FText_5ccd4:
- TX_FAR _CopycatsHouse2FText_5ccd4
- db "@"
+ text_far _CopycatsHouse2FText_5ccd4
+ text_end
TM31PreReceiveText:
- TX_FAR _TM31PreReceiveText
- db "@"
+ text_far _TM31PreReceiveText
+ text_end
ReceivedTM31Text:
- TX_FAR _ReceivedTM31Text
- TX_SFX_ITEM_1
+ text_far _ReceivedTM31Text
+ sound_get_item_1
TM31ExplanationText1:
- TX_FAR _TM31ExplanationText1
- TX_WAIT
- db "@"
+ text_far _TM31ExplanationText1
+ text_linkpromptbutton
+ text_end
TM31ExplanationText2:
- TX_FAR _TM31ExplanationText2
- db "@"
+ text_far _TM31ExplanationText2
+ text_end
TM31NoRoomText:
- TX_FAR _TM31NoRoomText
- TX_WAIT
- db "@"
+ text_far _TM31NoRoomText
+ text_linkpromptbutton
+ text_end
CopycatsHouse2FText2:
- TX_FAR _CopycatsHouse2FText2
- db "@"
+ text_far _CopycatsHouse2FText2
+ text_end
CopycatsHouse2FText5:
CopycatsHouse2FText4:
CopycatsHouse2FText3:
- TX_FAR _CopycatsHouse2FText3
- db "@"
+ text_far _CopycatsHouse2FText3
+ text_end
CopycatsHouse2FText6:
- TX_FAR _CopycatsHouse2FText6
- db "@"
+ text_far _CopycatsHouse2FText6
+ text_end
CopycatsHouse2FText7:
- TX_ASM
+ text_asm
ld a, [wSpriteStateData1 + 9]
cp SPRITE_FACING_UP
ld hl, CopycatsHouse2FText_5cd1c
@@ -94,9 +94,9 @@ CopycatsHouse2FText7:
jp TextScriptEnd
CopycatsHouse2FText_5cd17:
- TX_FAR _CopycatsHouse2FText_5cd17
- db "@"
+ text_far _CopycatsHouse2FText_5cd17
+ text_end
CopycatsHouse2FText_5cd1c:
- TX_FAR _CopycatsHouse2FText_5cd1c
- db "@"
+ text_far _CopycatsHouse2FText_5cd1c
+ text_end
diff --git a/scripts/Daycare.asm b/scripts/Daycare.asm
index 81cf5534..4c9e2a85 100755
--- a/scripts/Daycare.asm
+++ b/scripts/Daycare.asm
@@ -5,7 +5,7 @@ Daycare_TextPointers:
dw DayCareMText1
DayCareMText1:
- TX_ASM
+ text_asm
call SaveScreenTilesToBuffer2
ld a, [wDayCareInUse]
and a
@@ -211,59 +211,59 @@ DayCareMText1:
jp TextScriptEnd
DayCareIntroText:
- TX_FAR _DayCareIntroText
- db "@"
+ text_far _DayCareIntroText
+ text_end
DayCareWhichMonText:
- TX_FAR _DayCareWhichMonText
- db "@"
+ text_far _DayCareWhichMonText
+ text_end
DayCareWillLookAfterMonText:
- TX_FAR _DayCareWillLookAfterMonText
- db "@"
+ text_far _DayCareWillLookAfterMonText
+ text_end
DayCareComeSeeMeInAWhileText:
- TX_FAR _DayCareComeSeeMeInAWhileText
- db "@"
+ text_far _DayCareComeSeeMeInAWhileText
+ text_end
DayCareMonHasGrownText:
- TX_FAR _DayCareMonHasGrownText
- db "@"
+ text_far _DayCareMonHasGrownText
+ text_end
DayCareOweMoneyText:
- TX_FAR _DayCareOweMoneyText
- db "@"
+ text_far _DayCareOweMoneyText
+ text_end
DayCareGotMonBackText:
- TX_FAR _DayCareGotMonBackText
- db "@"
+ text_far _DayCareGotMonBackText
+ text_end
DayCareMonNeedsMoreTimeText:
- TX_FAR _DayCareMonNeedsMoreTimeText
- db "@"
+ text_far _DayCareMonNeedsMoreTimeText
+ text_end
DayCareAllRightThenText:
- TX_FAR _DayCareAllRightThenText
+ text_far _DayCareAllRightThenText
DayCareComeAgainText:
- TX_FAR _DayCareComeAgainText
- db "@"
+ text_far _DayCareComeAgainText
+ text_end
DayCareNoRoomForMonText:
- TX_FAR _DayCareNoRoomForMonText
- db "@"
+ text_far _DayCareNoRoomForMonText
+ text_end
DayCareOnlyHaveOneMonText:
- TX_FAR _DayCareOnlyHaveOneMonText
- db "@"
+ text_far _DayCareOnlyHaveOneMonText
+ text_end
DayCareCantAcceptMonWithHMText:
- TX_FAR _DayCareCantAcceptMonWithHMText
- db "@"
+ text_far _DayCareCantAcceptMonWithHMText
+ text_end
DayCareHeresYourMonText:
- TX_FAR _DayCareHeresYourMonText
- db "@"
+ text_far _DayCareHeresYourMonText
+ text_end
DayCareNotEnoughMoneyText:
- TX_FAR _DayCareNotEnoughMoneyText
- db "@"
+ text_far _DayCareNotEnoughMoneyText
+ text_end
diff --git a/scripts/DiglettsCave.asm b/scripts/DiglettsCave.asm
index 1d7b23f9..6746743f 100755
--- a/scripts/DiglettsCave.asm
+++ b/scripts/DiglettsCave.asm
@@ -2,4 +2,4 @@ DiglettsCave_Script:
jp EnableAutoTextBoxDrawing
DiglettsCave_TextPointers:
- db "@"
+ text_end
diff --git a/scripts/DiglettsCaveRoute11.asm b/scripts/DiglettsCaveRoute11.asm
index 54c3112e..648fe2bc 100755
--- a/scripts/DiglettsCaveRoute11.asm
+++ b/scripts/DiglettsCaveRoute11.asm
@@ -8,5 +8,5 @@ DiglettsCaveRoute11_TextPointers:
dw DiglettsCaveEntranceRoute11Text1
DiglettsCaveEntranceRoute11Text1:
- TX_FAR _DiglettsCaveEntRoute11Text1
- db "@"
+ text_far _DiglettsCaveEntRoute11Text1
+ text_end
diff --git a/scripts/DiglettsCaveRoute2.asm b/scripts/DiglettsCaveRoute2.asm
index 5fe7777c..32f17d65 100755
--- a/scripts/DiglettsCaveRoute2.asm
+++ b/scripts/DiglettsCaveRoute2.asm
@@ -7,5 +7,5 @@ DiglettsCaveRoute2_TextPointers:
dw DiglettsCaveRoute2Text1
DiglettsCaveRoute2Text1:
- TX_FAR _DiglettsCaveRoute2Text1
- db "@"
+ text_far _DiglettsCaveRoute2Text1
+ text_end
diff --git a/scripts/FightingDojo.asm b/scripts/FightingDojo.asm
index acedbbfe..eb1e3d55 100755
--- a/scripts/FightingDojo.asm
+++ b/scripts/FightingDojo.asm
@@ -129,7 +129,7 @@ FightingDojoTrainerHeader3:
db $ff
FightingDojoText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_DEFEATED_FIGHTING_DOJO
jp nz, .continue1
CheckEventReuseA EVENT_BEAT_KARATE_MASTER
@@ -161,96 +161,96 @@ FightingDojoText1:
jp TextScriptEnd
FightingDojoText_5ce8e:
- TX_FAR _FightingDojoText_5ce8e
- db "@"
+ text_far _FightingDojoText_5ce8e
+ text_end
FightingDojoText_5ce93:
- TX_FAR _FightingDojoText_5ce93
- db "@"
+ text_far _FightingDojoText_5ce93
+ text_end
FightingDojoText8:
- TX_FAR _FightingDojoText_5ce98
- db "@"
+ text_far _FightingDojoText_5ce98
+ text_end
FightingDojoText_5ce9d:
- TX_FAR _FightingDojoText_5ce9d
- db "@"
+ text_far _FightingDojoText_5ce9d
+ text_end
FightingDojoText2:
- TX_ASM
+ text_asm
ld hl, FightingDojoTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
FightingDojoBattleText1:
- TX_FAR _FightingDojoBattleText1
- db "@"
+ text_far _FightingDojoBattleText1
+ text_end
FightingDojoEndBattleText1:
- TX_FAR _FightingDojoEndBattleText1
- db "@"
+ text_far _FightingDojoEndBattleText1
+ text_end
FightingDojoAfterBattleText1:
- TX_FAR _FightingDojoAfterBattleText1
- db "@"
+ text_far _FightingDojoAfterBattleText1
+ text_end
FightingDojoText3:
- TX_ASM
+ text_asm
ld hl, FightingDojoTrainerHeader1
call TalkToTrainer
jp TextScriptEnd
FightingDojoBattleText2:
- TX_FAR _FightingDojoBattleText2
- db "@"
+ text_far _FightingDojoBattleText2
+ text_end
FightingDojoEndBattleText2:
- TX_FAR _FightingDojoEndBattleText2
- db "@"
+ text_far _FightingDojoEndBattleText2
+ text_end
FightingDojoAfterBattleText2:
- TX_FAR _FightingDojoAfterBattleText2
- db "@"
+ text_far _FightingDojoAfterBattleText2
+ text_end
FightingDojoText4:
- TX_ASM
+ text_asm
ld hl, FightingDojoTrainerHeader2
call TalkToTrainer
jp TextScriptEnd
FightingDojoBattleText3:
- TX_FAR _FightingDojoBattleText3
- db "@"
+ text_far _FightingDojoBattleText3
+ text_end
FightingDojoEndBattleText3:
- TX_FAR _FightingDojoEndBattleText3
- db "@"
+ text_far _FightingDojoEndBattleText3
+ text_end
FightingDojoAfterBattleText3:
- TX_FAR _FightingDojoAfterBattleText3
- db "@"
+ text_far _FightingDojoAfterBattleText3
+ text_end
FightingDojoText5:
- TX_ASM
+ text_asm
ld hl, FightingDojoTrainerHeader3
call TalkToTrainer
jp TextScriptEnd
FightingDojoBattleText4:
- TX_FAR _FightingDojoBattleText4
- db "@"
+ text_far _FightingDojoBattleText4
+ text_end
FightingDojoEndBattleText4:
- TX_FAR _FightingDojoEndBattleText4
- db "@"
+ text_far _FightingDojoEndBattleText4
+ text_end
FightingDojoAfterBattleText4:
- TX_FAR _FightingDojoAfterBattleText4
- db "@"
+ text_far _FightingDojoAfterBattleText4
+ text_end
FightingDojoText6:
; Hitmonlee Poké Ball
- TX_ASM
+ text_asm
CheckEitherEventSet EVENT_GOT_HITMONLEE, EVENT_GOT_HITMONCHAN
jr z, .GetMon
ld hl, OtherHitmonText
@@ -280,12 +280,12 @@ FightingDojoText6:
jp TextScriptEnd
WantHitmonleeText:
- TX_FAR _WantHitmonleeText
- db "@"
+ text_far _WantHitmonleeText
+ text_end
FightingDojoText7:
; Hitmonchan Poké Ball
- TX_ASM
+ text_asm
CheckEitherEventSet EVENT_GOT_HITMONLEE, EVENT_GOT_HITMONCHAN
jr z, .GetMon
ld hl, OtherHitmonText
@@ -315,9 +315,9 @@ FightingDojoText7:
jp TextScriptEnd
WantHitmonchanText:
- TX_FAR _WantHitmonchanText
- db "@"
+ text_far _WantHitmonchanText
+ text_end
OtherHitmonText:
- TX_FAR _OtherHitmonText
- db "@"
+ text_far _OtherHitmonText
+ text_end
diff --git a/scripts/FuchsiaBillsGrandpasHouse.asm b/scripts/FuchsiaBillsGrandpasHouse.asm
index ca5f2c16..69ce1cf1 100755
--- a/scripts/FuchsiaBillsGrandpasHouse.asm
+++ b/scripts/FuchsiaBillsGrandpasHouse.asm
@@ -8,13 +8,13 @@ FuchsiaBillsGrandpasHouse_TextPointers:
dw FuchsiaHouse1Text3
FuchsiaHouse1Text1:
- TX_FAR _FuchsiaHouse1Text1
- db "@"
+ text_far _FuchsiaHouse1Text1
+ text_end
FuchsiaHouse1Text2:
- TX_FAR _FuchsiaHouse1Text2
- db "@"
+ text_far _FuchsiaHouse1Text2
+ text_end
FuchsiaHouse1Text3:
- TX_FAR _FuchsiaHouse1Text3
- db "@"
+ text_far _FuchsiaHouse1Text3
+ text_end
diff --git a/scripts/FuchsiaCity.asm b/scripts/FuchsiaCity.asm
index d3f0ce32..ac9f273b 100755
--- a/scripts/FuchsiaCity.asm
+++ b/scripts/FuchsiaCity.asm
@@ -28,20 +28,20 @@ FuchsiaCity_TextPointers:
dw FuchsiaCityText24
FuchsiaCityText1:
- TX_FAR _FuchsiaCityText1
- db "@"
+ text_far _FuchsiaCityText1
+ text_end
FuchsiaCityText2:
- TX_FAR _FuchsiaCityText2
- db "@"
+ text_far _FuchsiaCityText2
+ text_end
FuchsiaCityText3:
- TX_FAR _FuchsiaCityText3
- db "@"
+ text_far _FuchsiaCityText3
+ text_end
FuchsiaCityText4:
- TX_FAR _FuchsiaCityText4
- db "@"
+ text_far _FuchsiaCityText4
+ text_end
FuchsiaCityText5:
FuchsiaCityText6:
@@ -49,32 +49,32 @@ FuchsiaCityText7:
FuchsiaCityText8:
FuchsiaCityText9:
FuchsiaCityText10:
- TX_FAR _FuchsiaCityText5
- db "@"
+ text_far _FuchsiaCityText5
+ text_end
FuchsiaCityText12:
FuchsiaCityText11:
- TX_FAR _FuchsiaCityText11
- db "@"
+ text_far _FuchsiaCityText11
+ text_end
FuchsiaCityText13:
- TX_FAR _FuchsiaCityText13
- db "@"
+ text_far _FuchsiaCityText13
+ text_end
FuchsiaCityText16:
- TX_FAR _FuchsiaCityText16
- db "@"
+ text_far _FuchsiaCityText16
+ text_end
FuchsiaCityText17:
- TX_FAR _FuchsiaCityText17
- db "@"
+ text_far _FuchsiaCityText17
+ text_end
FuchsiaCityText18:
- TX_FAR _FuchsiaCityText18
- db "@"
+ text_far _FuchsiaCityText18
+ text_end
FuchsiaCityText19:
- TX_ASM
+ text_asm
ld hl, FuchsiaCityChanseyText
call PrintText
ld a, CHANSEY
@@ -82,11 +82,11 @@ FuchsiaCityText19:
jp TextScriptEnd
FuchsiaCityChanseyText:
- TX_FAR _FuchsiaCityChanseyText
- db "@"
+ text_far _FuchsiaCityChanseyText
+ text_end
FuchsiaCityText20:
- TX_ASM
+ text_asm
ld hl, FuchsiaCityVoltorbText
call PrintText
ld a, VOLTORB
@@ -94,11 +94,11 @@ FuchsiaCityText20:
jp TextScriptEnd
FuchsiaCityVoltorbText:
- TX_FAR _FuchsiaCityVoltorbText
- db "@"
+ text_far _FuchsiaCityVoltorbText
+ text_end
FuchsiaCityText21:
- TX_ASM
+ text_asm
ld hl, FuchsiaCityKangaskhanText
call PrintText
ld a, KANGASKHAN
@@ -106,11 +106,11 @@ FuchsiaCityText21:
jp TextScriptEnd
FuchsiaCityKangaskhanText:
- TX_FAR _FuchsiaCityKangaskhanText
- db "@"
+ text_far _FuchsiaCityKangaskhanText
+ text_end
FuchsiaCityText22:
- TX_ASM
+ text_asm
ld hl, FuchsiaCitySlowpokeText
call PrintText
ld a, SLOWPOKE
@@ -118,11 +118,11 @@ FuchsiaCityText22:
jp TextScriptEnd
FuchsiaCitySlowpokeText:
- TX_FAR _FuchsiaCitySlowpokeText
- db "@"
+ text_far _FuchsiaCitySlowpokeText
+ text_end
FuchsiaCityText23:
- TX_ASM
+ text_asm
ld hl, FuchsiaCityLaprasText
call PrintText
ld a, LAPRAS
@@ -130,11 +130,11 @@ FuchsiaCityText23:
jp TextScriptEnd
FuchsiaCityLaprasText:
- TX_FAR _FuchsiaCityLaprasText
- db "@"
+ text_far _FuchsiaCityLaprasText
+ text_end
FuchsiaCityText24:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_DOME_FOSSIL
jr nz, .asm_3b4e8
CheckEventReuseA EVENT_GOT_HELIX_FOSSIL
@@ -157,13 +157,13 @@ FuchsiaCityText24:
jp TextScriptEnd
FuchsiaCityOmanyteText:
- TX_FAR _FuchsiaCityOmanyteText
- db "@"
+ text_far _FuchsiaCityOmanyteText
+ text_end
FuchsiaCityKabutoText:
- TX_FAR _FuchsiaCityKabutoText
- db "@"
+ text_far _FuchsiaCityKabutoText
+ text_end
FuchsiaCityText_19b2a:
- TX_FAR _FuchsiaCityText_19b2a
- db "@"
+ text_far _FuchsiaCityText_19b2a
+ text_end
diff --git a/scripts/FuchsiaGoodRodHouse.asm b/scripts/FuchsiaGoodRodHouse.asm
index 93a20e80..848f744c 100755
--- a/scripts/FuchsiaGoodRodHouse.asm
+++ b/scripts/FuchsiaGoodRodHouse.asm
@@ -5,7 +5,7 @@ FuchsiaGoodRodHouse_TextPointers:
dw FuchsiaHouse3Text1
FuchsiaHouse3Text1:
- TX_ASM
+ text_asm
ld a, [wd728]
bit 4, a
jr nz, .after
@@ -44,32 +44,32 @@ FuchsiaHouse3Text1:
jp TextScriptEnd
FuchsiaHouse3Text_561bd:
- TX_FAR _FuchsiaHouse3Text_561bd
- db "@"
+ text_far _FuchsiaHouse3Text_561bd
+ text_end
FuchsiaHouse3Text_561c2:
- TX_FAR _FuchsiaHouse3Text_561c2
- TX_SFX_ITEM_1
- db "@"
+ text_far _FuchsiaHouse3Text_561c2
+ sound_get_item_1
+ text_end
UnusedText_561c8:
- para "つり こそ"
- line "おとこの ロマン だ!"
+ para "つり こそ"
+ line "おとこの ロマン だ!"
para "へぼいつりざおは"
- line "コイキングしか つれ なんだが"
- line "この いいつりざおなら"
- line "もっと いいもんが つれるんじゃ!"
+ line "コイキングしか つれ なんだが"
+ line "この いいつりざおなら"
+ line "もっと いいもんが つれるんじゃ!"
done
FuchsiaHouse3Text_56212:
- TX_FAR _FuchsiaHouse3Text_56212
- db "@"
+ text_far _FuchsiaHouse3Text_56212
+ text_end
FuchsiaHouse3Text_56217:
- TX_FAR _FuchsiaHouse3Text_56217
- db "@"
+ text_far _FuchsiaHouse3Text_56217
+ text_end
FuchsiaHouse3Text_5621c:
- TX_FAR _FuchsiaHouse3Text_5621c
- db "@"
+ text_far _FuchsiaHouse3Text_5621c
+ text_end
diff --git a/scripts/FuchsiaGym.asm b/scripts/FuchsiaGym.asm
index d0917106..bf494074 100755
--- a/scripts/FuchsiaGym.asm
+++ b/scripts/FuchsiaGym.asm
@@ -140,7 +140,7 @@ FuchsiaGymTrainerHeader5:
db $ff
FuchsiaGymText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_KOGA
jr z, .beginBattle
CheckEventReuseA EVENT_GOT_TM06
@@ -175,143 +175,143 @@ FuchsiaGymText1:
jp TextScriptEnd
KogaBeforeBattleText:
- TX_FAR _KogaBeforeBattleText
- db "@"
+ text_far _KogaBeforeBattleText
+ text_end
KogaAfterBattleText:
- TX_FAR _KogaAfterBattleText
- db "@"
+ text_far _KogaAfterBattleText
+ text_end
KogaExplainToxicText:
- TX_FAR _KogaExplainToxicText
- db "@"
+ text_far _KogaExplainToxicText
+ text_end
FuchsiaGymText9:
- TX_FAR _FuchsiaGymText9
- db "@"
+ text_far _FuchsiaGymText9
+ text_end
FuchsiaGymText10:
- TX_FAR _ReceivedTM06Text
- TX_SFX_KEY_ITEM
+ text_far _ReceivedTM06Text
+ sound_get_key_item
TM06ExplanationText:
- TX_FAR _TM06ExplanationText
- db "@"
+ text_far _TM06ExplanationText
+ text_end
FuchsiaGymText11:
- TX_FAR _TM06NoRoomText
- db "@"
+ text_far _TM06NoRoomText
+ text_end
FuchsiaGymText2:
- TX_ASM
+ text_asm
ld hl, FuchsiaGymTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
FuchsiaGymBattleText1:
- TX_FAR _FuchsiaGymBattleText1
- db "@"
+ text_far _FuchsiaGymBattleText1
+ text_end
FuchsiaGymEndBattleText1:
- TX_FAR _FuchsiaGymEndBattleText1
- db "@"
+ text_far _FuchsiaGymEndBattleText1
+ text_end
FuchsiaGymAfterBattleText1:
- TX_FAR _FuchsiaGymAfterBattleText1
- db "@"
+ text_far _FuchsiaGymAfterBattleText1
+ text_end
FuchsiaGymText3:
- TX_ASM
+ text_asm
ld hl, FuchsiaGymTrainerHeader1
call TalkToTrainer
jp TextScriptEnd
FuchsiaGymBattleText2:
- TX_FAR _FuchsiaGymBattleText2
- db "@"
+ text_far _FuchsiaGymBattleText2
+ text_end
FuchsiaGymEndBattleText2:
- TX_FAR _FuchsiaGymEndBattleText2
- db "@"
+ text_far _FuchsiaGymEndBattleText2
+ text_end
FuchsiaGymAfterBattleText2:
- TX_FAR _FuchsiaGymAfterBattleText2
- db "@"
+ text_far _FuchsiaGymAfterBattleText2
+ text_end
FuchsiaGymText4:
- TX_ASM
+ text_asm
ld hl, FuchsiaGymTrainerHeader2
call TalkToTrainer
jp TextScriptEnd
FuchsiaGymBattleText3:
- TX_FAR _FuchsiaGymBattleText3
- db "@"
+ text_far _FuchsiaGymBattleText3
+ text_end
FuchsiaGymEndBattleText3:
- TX_FAR _FuchsiaGymEndBattleText3
- db "@"
+ text_far _FuchsiaGymEndBattleText3
+ text_end
FuchsiaGymAfterBattleText3:
- TX_FAR _FuchsiaGymAfterBattleText3
- db "@"
+ text_far _FuchsiaGymAfterBattleText3
+ text_end
FuchsiaGymText5:
- TX_ASM
+ text_asm
ld hl, FuchsiaGymTrainerHeader3
call TalkToTrainer
jp TextScriptEnd
FuchsiaGymBattleText4:
- TX_FAR _FuchsiaGymBattleText4
- db "@"
+ text_far _FuchsiaGymBattleText4
+ text_end
FuchsiaGymEndBattleText4:
- TX_FAR _FuchsiaGymEndBattleText4
- db "@"
+ text_far _FuchsiaGymEndBattleText4
+ text_end
FuchsiaGymAfterBattleText4:
- TX_FAR _FuchsiaGymAfterBattleText4
- db "@"
+ text_far _FuchsiaGymAfterBattleText4
+ text_end
FuchsiaGymText6:
- TX_ASM
+ text_asm
ld hl, FuchsiaGymTrainerHeader4
call TalkToTrainer
jp TextScriptEnd
FuchsiaGymBattleText5:
- TX_FAR _FuchsiaGymBattleText5
- db "@"
+ text_far _FuchsiaGymBattleText5
+ text_end
FuchsiaGymEndBattleText5:
- TX_FAR _FuchsiaGymEndBattleText5
- db "@"
+ text_far _FuchsiaGymEndBattleText5
+ text_end
FuchsiaGymAfterBattleText5:
- TX_FAR _FuchsiaGymAfterBattleText5
- db "@"
+ text_far _FuchsiaGymAfterBattleText5
+ text_end
FuchsiaGymText7:
- TX_ASM
+ text_asm
ld hl, FuchsiaGymTrainerHeader5
call TalkToTrainer
jp TextScriptEnd
FuchsiaGymBattleText6:
- TX_FAR _FuchsiaGymBattleText6
- db "@"
+ text_far _FuchsiaGymBattleText6
+ text_end
FuchsiaGymEndBattleText6:
- TX_FAR _FuchsiaGymEndBattleText6
- db "@"
+ text_far _FuchsiaGymEndBattleText6
+ text_end
FuchsiaGymAfterBattleText6:
- TX_FAR _FuchsiaGymAfterBattleText6
- db "@"
+ text_far _FuchsiaGymAfterBattleText6
+ text_end
FuchsiaGymText8:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_KOGA
ld hl, FuchsiaGymText_75653
jr nz, .asm_50671
@@ -321,9 +321,9 @@ FuchsiaGymText8:
jp TextScriptEnd
FuchsiaGymText_7564e:
- TX_FAR _FuchsiaGymText_7564e
- db "@"
+ text_far _FuchsiaGymText_7564e
+ text_end
FuchsiaGymText_75653:
- TX_FAR _FuchsiaGymText_75653
- db "@"
+ text_far _FuchsiaGymText_75653
+ text_end
diff --git a/scripts/FuchsiaMart.asm b/scripts/FuchsiaMart.asm
index f17cac49..e6d64c53 100755
--- a/scripts/FuchsiaMart.asm
+++ b/scripts/FuchsiaMart.asm
@@ -7,9 +7,9 @@ FuchsiaMart_TextPointers:
dw FuchsiaMartText3
FuchsiaMartText2:
- TX_FAR _FuchsiaMartText2
- db "@"
+ text_far _FuchsiaMartText2
+ text_end
FuchsiaMartText3:
- TX_FAR _FuchsiaMartText3
- db "@"
+ text_far _FuchsiaMartText3
+ text_end
diff --git a/scripts/FuchsiaMeetingRoom.asm b/scripts/FuchsiaMeetingRoom.asm
index 95ac12fa..4fc05b1f 100755
--- a/scripts/FuchsiaMeetingRoom.asm
+++ b/scripts/FuchsiaMeetingRoom.asm
@@ -8,13 +8,13 @@ FuchsiaMeetingRoom_TextPointers:
dw FuchsiaMeetingRoomText3
FuchsiaMeetingRoomText1:
- TX_FAR _FuchsiaMeetingRoomText1
- db "@"
+ text_far _FuchsiaMeetingRoomText1
+ text_end
FuchsiaMeetingRoomText2:
- TX_FAR _FuchsiaMeetingRoomText2
- db "@"
+ text_far _FuchsiaMeetingRoomText2
+ text_end
FuchsiaMeetingRoomText3:
- TX_FAR _FuchsiaMeetingRoomText3
- db "@"
+ text_far _FuchsiaMeetingRoomText3
+ text_end
diff --git a/scripts/FuchsiaPokecenter.asm b/scripts/FuchsiaPokecenter.asm
index 182ec8c3..788ee24b 100755
--- a/scripts/FuchsiaPokecenter.asm
+++ b/scripts/FuchsiaPokecenter.asm
@@ -9,15 +9,15 @@ FuchsiaPokecenter_TextPointers:
dw FuchsiaTradeNurseText
FuchsiaHealNurseText:
- TX_POKECENTER_NURSE
+ script_pokecenter_nurse
FuchsiaPokecenterText2:
- TX_FAR _FuchsiaPokecenterText1
- db "@"
+ text_far _FuchsiaPokecenterText1
+ text_end
FuchsiaPokecenterText3:
- TX_FAR _FuchsiaPokecenterText3
- db "@"
+ text_far _FuchsiaPokecenterText3
+ text_end
FuchsiaTradeNurseText:
- TX_CABLE_CLUB_RECEPTIONIST
+ script_cable_club_receptionist
diff --git a/scripts/GameCorner.asm b/scripts/GameCorner.asm
index 57f18ac7..551caa78 100755
--- a/scripts/GameCorner.asm
+++ b/scripts/GameCorner.asm
@@ -132,11 +132,11 @@ GameCorner_TextPointers:
dw CeladonGameCornerText13
CeladonGameCornerText1:
- TX_FAR _CeladonGameCornerText1
- db "@"
+ text_far _CeladonGameCornerText1
+ text_end
CeladonGameCornerText2:
- TX_ASM
+ text_asm
call CeladonGameCornerScript_48f1e
ld hl, CeladonGameCornerText_48d22
call PrintText
@@ -193,39 +193,39 @@ CeladonGameCornerText2:
jp TextScriptEnd
CeladonGameCornerText_48d22:
- TX_FAR _CeladonGameCornerText_48d22
- db "@"
+ text_far _CeladonGameCornerText_48d22
+ text_end
CeladonGameCornerText_48d27:
- TX_FAR _CeladonGameCornerText_48d27
- db "@"
+ text_far _CeladonGameCornerText_48d27
+ text_end
CeladonGameCornerText_48d2c:
- TX_FAR _CeladonGameCornerText_48d2c
- db "@"
+ text_far _CeladonGameCornerText_48d2c
+ text_end
CeladonGameCornerText_48d31:
- TX_FAR _CeladonGameCornerText_48d31
- db "@"
+ text_far _CeladonGameCornerText_48d31
+ text_end
CeladonGameCornerText_48d36:
- TX_FAR _CeladonGameCornerText_48d36
- db "@"
+ text_far _CeladonGameCornerText_48d36
+ text_end
CeladonGameCornerText_48d3b:
- TX_FAR _CeladonGameCornerText_48d3b
- db "@"
+ text_far _CeladonGameCornerText_48d3b
+ text_end
CeladonGameCornerText3:
- TX_FAR _CeladonGameCornerText3
- db "@"
+ text_far _CeladonGameCornerText3
+ text_end
CeladonGameCornerText4:
- TX_FAR _CeladonGameCornerText4
- db "@"
+ text_far _CeladonGameCornerText4
+ text_end
CeladonGameCornerText5:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_10_COINS
jr nz, .asm_48d89
ld hl, CeladonGameCornerText_48d9c
@@ -262,28 +262,28 @@ CeladonGameCornerText5:
jp TextScriptEnd
CeladonGameCornerText_48d9c:
- TX_FAR _CeladonGameCornerText_48d9c
- db "@"
+ text_far _CeladonGameCornerText_48d9c
+ text_end
Received10CoinsText:
- TX_FAR _Received10CoinsText
- TX_SFX_ITEM_1
- db "@"
+ text_far _Received10CoinsText
+ sound_get_item_1
+ text_end
CeladonGameCornerText_48da7:
- TX_FAR _CeladonGameCornerText_48da7
- db "@"
+ text_far _CeladonGameCornerText_48da7
+ text_end
CeladonGameCornerText_48dac:
- TX_FAR _CeladonGameCornerText_48dac
- db "@"
+ text_far _CeladonGameCornerText_48dac
+ text_end
CeladonGameCornerText6:
- TX_FAR _CeladonGameCornerText6
- db "@"
+ text_far _CeladonGameCornerText6
+ text_end
CeladonGameCornerText7:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_ERIKA
ld hl, CeladonGameCornerText_48dca
jr z, .asm_48dc4
@@ -293,19 +293,19 @@ CeladonGameCornerText7:
jp TextScriptEnd
CeladonGameCornerText_48dca:
- TX_FAR _CeladonGameCornerText_48dca
- db "@"
+ text_far _CeladonGameCornerText_48dca
+ text_end
CeladonGameCornerText_48dcf:
- TX_FAR _CeladonGameCornerText_48dcf
- db "@"
+ text_far _CeladonGameCornerText_48dcf
+ text_end
CeladonGameCornerText8:
- TX_FAR _CeladonGameCornerText8
- db "@"
+ text_far _CeladonGameCornerText8
+ text_end
CeladonGameCornerText9:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_20_COINS_2
jr nz, .asm_48e13
ld hl, CeladonGameCornerText_48e26
@@ -340,24 +340,24 @@ CeladonGameCornerText9:
jp TextScriptEnd
CeladonGameCornerText_48e26:
- TX_FAR _CeladonGameCornerText_48e26
- db "@"
+ text_far _CeladonGameCornerText_48e26
+ text_end
Received20CoinsText:
- TX_FAR _Received20CoinsText
- TX_SFX_ITEM_1
- db "@"
+ text_far _Received20CoinsText
+ sound_get_item_1
+ text_end
CeladonGameCornerText_48e31:
- TX_FAR _CeladonGameCornerText_48e31
- db "@"
+ text_far _CeladonGameCornerText_48e31
+ text_end
CeladonGameCornerText_48e36:
- TX_FAR _CeladonGameCornerText_48e36
- db "@"
+ text_far _CeladonGameCornerText_48e36
+ text_end
CeladonGameCornerText10:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_20_COINS
jr nz, .asm_48e75
ld hl, CeladonGameCornerText_48e88
@@ -392,24 +392,24 @@ CeladonGameCornerText10:
jp TextScriptEnd
CeladonGameCornerText_48e88:
- TX_FAR _CeladonGameCornerText_48e88
- db "@"
+ text_far _CeladonGameCornerText_48e88
+ text_end
CeladonGameCornerText_48e8d:
- TX_FAR _CeladonGameCornerText_48e8d
- TX_SFX_ITEM_1
- db "@"
+ text_far _CeladonGameCornerText_48e8d
+ sound_get_item_1
+ text_end
CeladonGameCornerText_48e93:
- TX_FAR _CeladonGameCornerText_48e93
- db "@"
+ text_far _CeladonGameCornerText_48e93
+ text_end
CeladonGameCornerText_48e98:
- TX_FAR _CeladonGameCornerText_48e98
- db "@"
+ text_far _CeladonGameCornerText_48e98
+ text_end
CeladonGameCornerText11:
- TX_ASM
+ text_asm
ld hl, CeladonGameCornerText_48ece
call PrintText
ld hl, wd72d
@@ -431,19 +431,19 @@ CeladonGameCornerText11:
jp TextScriptEnd
CeladonGameCornerText_48ece:
- TX_FAR _CeladonGameCornerText_48ece
- db "@"
+ text_far _CeladonGameCornerText_48ece
+ text_end
CeladonGameCornerText_48ed3:
- TX_FAR _CeladonGameCornerText_48ed3
- db "@"
+ text_far _CeladonGameCornerText_48ed3
+ text_end
CeladonGameCornerText13:
- TX_FAR _CeladonGameCornerText_48ed8
- db "@"
+ text_far _CeladonGameCornerText_48ed8
+ text_end
CeladonGameCornerText12:
- TX_ASM
+ text_asm
ld a, $1
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ld hl, CeladonGameCornerText_48f09
@@ -460,16 +460,16 @@ CeladonGameCornerText12:
jp TextScriptEnd
CeladonGameCornerText_48f09:
- TX_FAR _CeladonGameCornerText_48f09
- TX_ASM
+ text_far _CeladonGameCornerText_48f09
+ text_asm
ld a, SFX_SWITCH
call PlaySound
call WaitForSoundToFinish
jp TextScriptEnd
CeladonGameCornerText_48f19:
- TX_FAR _CeladonGameCornerText_48f19
- db "@"
+ text_far _CeladonGameCornerText_48f19
+ text_end
CeladonGameCornerScript_48f1e:
ld hl, wd730
diff --git a/scripts/GameCornerPrizeRoom.asm b/scripts/GameCornerPrizeRoom.asm
index e6cf6f0d..c8dddf71 100755
--- a/scripts/GameCornerPrizeRoom.asm
+++ b/scripts/GameCornerPrizeRoom.asm
@@ -9,12 +9,12 @@ GameCornerPrizeRoom_TextPointers:
dw CeladonPrizeRoomText3
CeladonPrizeRoomText1:
- TX_FAR _CeladonPrizeRoomText1
- db "@"
+ text_far _CeladonPrizeRoomText1
+ text_end
CeladonPrizeRoomText2:
- TX_FAR _CeladonPrizeRoomText2
- db "@"
+ text_far _CeladonPrizeRoomText2
+ text_end
CeladonPrizeRoomText3:
- TX_PRIZE_VENDOR
+ script_prize_vendor
diff --git a/scripts/HallOfFame.asm b/scripts/HallOfFame.asm
index 14b4f15e..ef3ed128 100755
--- a/scripts/HallOfFame.asm
+++ b/scripts/HallOfFame.asm
@@ -105,5 +105,5 @@ HallOfFame_TextPointers:
dw HallofFameRoomText1
HallofFameRoomText1:
- TX_FAR _HallofFameRoomText1
- db "@"
+ text_far _HallofFameRoomText1
+ text_end
diff --git a/scripts/IndigoPlateauLobby.asm b/scripts/IndigoPlateauLobby.asm
index f83c0ba4..a9b549e3 100755
--- a/scripts/IndigoPlateauLobby.asm
+++ b/scripts/IndigoPlateauLobby.asm
@@ -22,15 +22,15 @@ IndigoPlateauLobby_TextPointers:
dw IndigoTradeNurseText
IndigoHealNurseText:
- TX_POKECENTER_NURSE
+ script_pokecenter_nurse
IndigoPlateauLobbyText2:
- TX_FAR _IndigoPlateauLobbyText2
- db "@"
+ text_far _IndigoPlateauLobbyText2
+ text_end
IndigoPlateauLobbyText3:
- TX_FAR _IndigoPlateauLobbyText3
- db "@"
+ text_far _IndigoPlateauLobbyText3
+ text_end
IndigoTradeNurseText:
- TX_CABLE_CLUB_RECEPTIONIST
+ script_cable_club_receptionist
diff --git a/scripts/LancesRoom.asm b/scripts/LancesRoom.asm
index 5e19ea7d..712972e8 100755
--- a/scripts/LancesRoom.asm
+++ b/scripts/LancesRoom.asm
@@ -142,21 +142,21 @@ LanceTrainerHeader0:
db $ff
LanceText1:
- TX_ASM
+ text_asm
ld hl, LanceTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
LanceBeforeBattleText:
- TX_FAR _LanceBeforeBattleText
- db "@"
+ text_far _LanceBeforeBattleText
+ text_end
LanceEndBattleText:
- TX_FAR _LanceEndBattleText
- db "@"
+ text_far _LanceEndBattleText
+ text_end
LanceAfterBattleText:
- TX_FAR _LanceAfterBattleText
- TX_ASM
+ text_far _LanceAfterBattleText
+ text_asm
SetEvent EVENT_BEAT_LANCE
jp TextScriptEnd
diff --git a/scripts/LavenderCuboneHouse.asm b/scripts/LavenderCuboneHouse.asm
index ff5aa732..45f2f8d8 100755
--- a/scripts/LavenderCuboneHouse.asm
+++ b/scripts/LavenderCuboneHouse.asm
@@ -7,14 +7,14 @@ LavenderCuboneHouse_TextPointers:
dw LavenderHouse2Text2
LavenderHouse2Text1:
- TX_FAR _LavenderHouse2Text1
- TX_ASM
+ text_far _LavenderHouse2Text1
+ text_asm
ld a, CUBONE
call PlayCry
jp TextScriptEnd
LavenderHouse2Text2:
- TX_ASM
+ text_asm
CheckEvent EVENT_RESCUED_MR_FUJI
jr nz, .asm_65711
ld hl, LavenderHouse2Text_1d9dc
@@ -27,9 +27,9 @@ LavenderHouse2Text2:
jp TextScriptEnd
LavenderHouse2Text_1d9dc:
- TX_FAR _LavenderHouse2Text_1d9dc
- db "@"
+ text_far _LavenderHouse2Text_1d9dc
+ text_end
LavenderHouse2Text_1d9e1:
- TX_FAR _LavenderHouse2Text_1d9e1
- db "@"
+ text_far _LavenderHouse2Text_1d9e1
+ text_end
diff --git a/scripts/LavenderMart.asm b/scripts/LavenderMart.asm
index 47330e5d..2b67aaa6 100755
--- a/scripts/LavenderMart.asm
+++ b/scripts/LavenderMart.asm
@@ -7,11 +7,11 @@ LavenderMart_TextPointers:
dw LavenderMartText3
LavenderMartText2:
- TX_FAR _LavenderMartText2
- db "@"
+ text_far _LavenderMartText2
+ text_end
LavenderMartText3:
- TX_ASM
+ text_asm
CheckEvent EVENT_RESCUED_MR_FUJI
jr nz, .Nugget
ld hl, .ReviveText
@@ -24,9 +24,9 @@ LavenderMartText3:
jp TextScriptEnd
.ReviveText
- TX_FAR _LavenderMartReviveText
- db "@"
+ text_far _LavenderMartReviveText
+ text_end
.NuggetText
- TX_FAR _LavenderMartNuggetText
- db "@"
+ text_far _LavenderMartNuggetText
+ text_end
diff --git a/scripts/LavenderPokecenter.asm b/scripts/LavenderPokecenter.asm
index 10482fef..b8a1d2a5 100755
--- a/scripts/LavenderPokecenter.asm
+++ b/scripts/LavenderPokecenter.asm
@@ -9,15 +9,15 @@ LavenderPokecenter_TextPointers:
dw LavenderTradeNurseText
LavenderTradeNurseText:
- TX_CABLE_CLUB_RECEPTIONIST
+ script_cable_club_receptionist
LavenderHealNurseText:
- TX_POKECENTER_NURSE
+ script_pokecenter_nurse
LavenderPokecenterText2:
- TX_FAR _LavenderPokecenterText2
- db "@"
+ text_far _LavenderPokecenterText2
+ text_end
LavenderPokecenterText3:
- TX_FAR _LavenderPokecenterText3
- db "@"
+ text_far _LavenderPokecenterText3
+ text_end
diff --git a/scripts/LavenderTown.asm b/scripts/LavenderTown.asm
index c23996e9..7902db45 100755
--- a/scripts/LavenderTown.asm
+++ b/scripts/LavenderTown.asm
@@ -13,7 +13,7 @@ LavenderTown_TextPointers:
dw LavenderTownText9
LavenderTownText1:
- TX_ASM
+ text_asm
ld hl, LavenderTownText_4413c
call PrintText
call YesNoChoice
@@ -27,37 +27,37 @@ LavenderTownText1:
jp TextScriptEnd
LavenderTownText_4413c:
- TX_FAR _LavenderTownText_4413c
- db "@"
+ text_far _LavenderTownText_4413c
+ text_end
LavenderTownText_44141:
- TX_FAR _LavenderTownText_44141
- db "@"
+ text_far _LavenderTownText_44141
+ text_end
LavenderTownText_44146:
- TX_FAR _LavenderTownText_44146
- db "@"
+ text_far _LavenderTownText_44146
+ text_end
LavenderTownText2:
- TX_FAR _LavenderTownText2
- db "@"
+ text_far _LavenderTownText2
+ text_end
LavenderTownText3:
- TX_FAR _LavenderTownText3
- db "@"
+ text_far _LavenderTownText3
+ text_end
LavenderTownText4:
- TX_FAR _LavenderTownText4
- db "@"
+ text_far _LavenderTownText4
+ text_end
LavenderTownText5:
- TX_FAR _LavenderTownText5
- db "@"
+ text_far _LavenderTownText5
+ text_end
LavenderTownText8:
- TX_FAR _LavenderTownText8
- db "@"
+ text_far _LavenderTownText8
+ text_end
LavenderTownText9:
- TX_FAR _LavenderTownText9
- db "@"
+ text_far _LavenderTownText9
+ text_end
diff --git a/scripts/LoreleisRoom.asm b/scripts/LoreleisRoom.asm
index 81142377..c03d1161 100755
--- a/scripts/LoreleisRoom.asm
+++ b/scripts/LoreleisRoom.asm
@@ -131,23 +131,23 @@ LoreleiTrainerHeader0:
db $ff
LoreleiText1:
- TX_ASM
+ text_asm
ld hl, LoreleiTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
LoreleiBeforeBattleText:
- TX_FAR _LoreleiBeforeBattleText
- db "@"
+ text_far _LoreleiBeforeBattleText
+ text_end
LoreleiEndBattleText:
- TX_FAR _LoreleiEndBattleText
- db "@"
+ text_far _LoreleiEndBattleText
+ text_end
LoreleiAfterBattleText:
- TX_FAR _LoreleiAfterBattleText
- db "@"
+ text_far _LoreleiAfterBattleText
+ text_end
LoreleiDontRunAwayText:
- TX_FAR _LoreleiDontRunAwayText
- db "@"
+ text_far _LoreleiDontRunAwayText
+ text_end
diff --git a/scripts/MrFujisHouse.asm b/scripts/MrFujisHouse.asm
index 98190cd8..88f36e4f 100755
--- a/scripts/MrFujisHouse.asm
+++ b/scripts/MrFujisHouse.asm
@@ -11,7 +11,7 @@ MrFujisHouse_TextPointers:
dw LavenderHouse1Text6
LavenderHouse1Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_RESCUED_MR_FUJI
jr nz, .asm_72e5d
ld hl, LavenderHouse1Text_1d8d1
@@ -24,15 +24,15 @@ LavenderHouse1Text1:
jp TextScriptEnd
LavenderHouse1Text_1d8d1:
- TX_FAR _LavenderHouse1Text_1d8d1
- db "@"
+ text_far _LavenderHouse1Text_1d8d1
+ text_end
LavenderHouse1Text_1d8d6:
- TX_FAR _LavenderHouse1Text_1d8d6
- db "@"
+ text_far _LavenderHouse1Text_1d8d6
+ text_end
LavenderHouse1Text2:
- TX_ASM
+ text_asm
CheckEvent EVENT_RESCUED_MR_FUJI
jr nz, .asm_06470
ld hl, LavenderHouse1Text_1d8f4
@@ -45,29 +45,29 @@ LavenderHouse1Text2:
jp TextScriptEnd
LavenderHouse1Text_1d8f4:
- TX_FAR _LavenderHouse1Text_1d8f4
- db "@"
+ text_far _LavenderHouse1Text_1d8f4
+ text_end
LavenderHouse1Text_1d8f9:
- TX_FAR _LavenderHouse1Text_1d8f9
- db "@"
+ text_far _LavenderHouse1Text_1d8f9
+ text_end
LavenderHouse1Text3:
- TX_FAR _LavenderHouse1Text3
- TX_ASM
+ text_far _LavenderHouse1Text3
+ text_asm
ld a, PSYDUCK
call PlayCry
jp TextScriptEnd
LavenderHouse1Text4:
- TX_FAR _LavenderHouse1Text4
- TX_ASM
+ text_far _LavenderHouse1Text4
+ text_asm
ld a, NIDORINO
call PlayCry
jp TextScriptEnd
LavenderHouse1Text5:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_POKE_FLUTE
jr nz, .asm_15ac2
ld hl, LavenderHouse1Text_1d94c
@@ -90,23 +90,23 @@ LavenderHouse1Text5:
jp TextScriptEnd
LavenderHouse1Text_1d94c:
- TX_FAR _LavenderHouse1Text_1d94c
- db "@"
+ text_far _LavenderHouse1Text_1d94c
+ text_end
ReceivedFluteText:
- TX_FAR _ReceivedFluteText
- TX_SFX_KEY_ITEM
- TX_FAR _FluteExplanationText
- db "@"
+ text_far _ReceivedFluteText
+ sound_get_key_item
+ text_far _FluteExplanationText
+ text_end
FluteNoRoomText:
- TX_FAR _FluteNoRoomText
- db "@"
+ text_far _FluteNoRoomText
+ text_end
MrFujiAfterFluteText:
- TX_FAR _MrFujiAfterFluteText
- db "@"
+ text_far _MrFujiAfterFluteText
+ text_end
LavenderHouse1Text6:
- TX_FAR _LavenderHouse1Text6
- db "@"
+ text_far _LavenderHouse1Text6
+ text_end
diff --git a/scripts/MrPsychicsHouse.asm b/scripts/MrPsychicsHouse.asm
index 7d4f54c0..15d3c0cd 100755
--- a/scripts/MrPsychicsHouse.asm
+++ b/scripts/MrPsychicsHouse.asm
@@ -5,7 +5,7 @@ MrPsychicsHouse_TextPointers:
dw SaffronHouse2Text1
SaffronHouse2Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_TM29
jr nz, .asm_9e72b
ld hl, TM29PreReceiveText
@@ -28,18 +28,18 @@ SaffronHouse2Text1:
jp TextScriptEnd
TM29PreReceiveText:
- TX_FAR _TM29PreReceiveText
- db "@"
+ text_far _TM29PreReceiveText
+ text_end
ReceivedTM29Text:
- TX_FAR _ReceivedTM29Text
- TX_SFX_ITEM_1
- db "@"
+ text_far _ReceivedTM29Text
+ sound_get_item_1
+ text_end
TM29ExplanationText:
- TX_FAR _TM29ExplanationText
- db "@"
+ text_far _TM29ExplanationText
+ text_end
TM29NoRoomText:
- TX_FAR _TM29NoRoomText
- db "@"
+ text_far _TM29NoRoomText
+ text_end
diff --git a/scripts/MtMoon1F.asm b/scripts/MtMoon1F.asm
index b05b3f60..a538b9b2 100755
--- a/scripts/MtMoon1F.asm
+++ b/scripts/MtMoon1F.asm
@@ -94,131 +94,131 @@ MtMoon1TrainerHeader6:
db $ff
MtMoon1Text1:
- TX_ASM
+ text_asm
ld hl, MtMoon1TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
MtMoon1Text2:
- TX_ASM
+ text_asm
ld hl, MtMoon1TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
MtMoon1Text3:
- TX_ASM
+ text_asm
ld hl, MtMoon1TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
MtMoon1Text4:
- TX_ASM
+ text_asm
ld hl, MtMoon1TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
MtMoon1Text5:
- TX_ASM
+ text_asm
ld hl, MtMoon1TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
MtMoon1Text6:
- TX_ASM
+ text_asm
ld hl, MtMoon1TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
MtMoon1Text7:
- TX_ASM
+ text_asm
ld hl, MtMoon1TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
MtMoon1BattleText2:
- TX_FAR _MtMoon1BattleText2
- db "@"
+ text_far _MtMoon1BattleText2
+ text_end
MtMoon1EndBattleText2:
- TX_FAR _MtMoon1EndBattleText2
- db "@"
+ text_far _MtMoon1EndBattleText2
+ text_end
MtMoon1AfterBattleText2:
- TX_FAR _MtMoon1AfterBattleText2
- db "@"
+ text_far _MtMoon1AfterBattleText2
+ text_end
MtMoon1BattleText3:
- TX_FAR _MtMoon1BattleText3
- db "@"
+ text_far _MtMoon1BattleText3
+ text_end
MtMoon1EndBattleText3:
- TX_FAR _MtMoon1EndBattleText3
- db "@"
+ text_far _MtMoon1EndBattleText3
+ text_end
MtMoon1AfterBattleText3:
- TX_FAR _MtMoon1AfterBattleText3
- db "@"
+ text_far _MtMoon1AfterBattleText3
+ text_end
MtMoon1BattleText4:
- TX_FAR _MtMoon1BattleText4
- db "@"
+ text_far _MtMoon1BattleText4
+ text_end
MtMoon1EndBattleText4:
- TX_FAR _MtMoon1EndBattleText4
- db "@"
+ text_far _MtMoon1EndBattleText4
+ text_end
MtMoon1AfterBattleText4:
- TX_FAR _MtMoon1AfterBattleText4
- db "@"
+ text_far _MtMoon1AfterBattleText4
+ text_end
MtMoon1BattleText5:
- TX_FAR _MtMoon1BattleText5
- db "@"
+ text_far _MtMoon1BattleText5
+ text_end
MtMoon1EndBattleText5:
- TX_FAR _MtMoon1EndBattleText5
- db "@"
+ text_far _MtMoon1EndBattleText5
+ text_end
MtMoon1AfterBattleText5:
- TX_FAR _MtMoon1AfterBattleText5
- db "@"
+ text_far _MtMoon1AfterBattleText5
+ text_end
MtMoon1BattleText6:
- TX_FAR _MtMoon1BattleText6
- db "@"
+ text_far _MtMoon1BattleText6
+ text_end
MtMoon1EndBattleText6:
- TX_FAR _MtMoon1EndBattleText6
- db "@"
+ text_far _MtMoon1EndBattleText6
+ text_end
MtMoon1AfterBattleText6:
- TX_FAR _MtMoon1AfterBattleText6
- db "@"
+ text_far _MtMoon1AfterBattleText6
+ text_end
MtMoon1BattleText7:
- TX_FAR _MtMoon1BattleText7
- db "@"
+ text_far _MtMoon1BattleText7
+ text_end
MtMoon1EndBattleText7:
- TX_FAR _MtMoon1EndBattleText7
- db "@"
+ text_far _MtMoon1EndBattleText7
+ text_end
MtMoon1AfterBattleText7:
- TX_FAR _MtMoon1AfterBattleText7
- db "@"
+ text_far _MtMoon1AfterBattleText7
+ text_end
MtMoon1BattleText8:
- TX_FAR _MtMoon1BattleText8
- db "@"
+ text_far _MtMoon1BattleText8
+ text_end
MtMoon1EndBattleText8:
- TX_FAR _MtMoon1EndBattleText8
- db "@"
+ text_far _MtMoon1EndBattleText8
+ text_end
MtMoon1AfterBattleText8:
- TX_FAR _MtMoon1AfterBattleText8
- db "@"
+ text_far _MtMoon1AfterBattleText8
+ text_end
MtMoon1Text14:
- TX_FAR _MtMoon1Text14
- db "@"
+ text_far _MtMoon1Text14
+ text_end
diff --git a/scripts/MtMoonB1F.asm b/scripts/MtMoonB1F.asm
index 779812c3..06af2dd3 100755
--- a/scripts/MtMoonB1F.asm
+++ b/scripts/MtMoonB1F.asm
@@ -6,5 +6,5 @@ MtMoonB1F_TextPointers:
dw MtMoonText1
MtMoonText1:
- TX_FAR _MtMoonText1
- db "@"
+ text_far _MtMoonText1
+ text_end
diff --git a/scripts/MtMoonB2F.asm b/scripts/MtMoonB2F.asm
index 3a9ec99f..cc6828f7 100755
--- a/scripts/MtMoonB2F.asm
+++ b/scripts/MtMoonB2F.asm
@@ -205,7 +205,7 @@ MtMoon3TrainerHeader3:
db $ff
MtMoon3Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_MT_MOON_EXIT_SUPER_NERD
jr z, .asm_49e8d
and $c0
@@ -237,31 +237,31 @@ MtMoon3Text1:
jp TextScriptEnd
MtMoon3Text2:
- TX_ASM
+ text_asm
ld hl, MtMoon3TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
MtMoon3Text3:
- TX_ASM
+ text_asm
ld hl, MtMoon3TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
MtMoon3Text4:
- TX_ASM
+ text_asm
ld hl, MtMoon3TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
MtMoon3Text5:
- TX_ASM
+ text_asm
ld hl, MtMoon3TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
MtMoon3Text6:
- TX_ASM
+ text_asm
ld a, $1
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ld hl, MtMoon3Text_49f24
@@ -285,11 +285,11 @@ MtMoon3Text6:
jp TextScriptEnd
MtMoon3Text_49f24:
- TX_FAR _MtMoon3Text_49f24
- db "@"
+ text_far _MtMoon3Text_49f24
+ text_end
MtMoon3Text7:
- TX_ASM
+ text_asm
ld a, $1
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ld hl, MtMoon3Text_49f64
@@ -313,18 +313,18 @@ MtMoon3Text7:
jp TextScriptEnd
MtMoon3Text_49f64:
- TX_FAR _MtMoon3Text_49f64
- db "@"
+ text_far _MtMoon3Text_49f64
+ text_end
MtMoon3Script_49f69:
ld hl, MtMoon3Text_49f6f
jp PrintText
MtMoon3Text_49f6f:
- TX_FAR _MtMoon3Text_49f6f
- TX_SFX_KEY_ITEM
- TX_WAIT
- db "@"
+ text_far _MtMoon3Text_49f6f
+ sound_get_key_item
+ text_linkpromptbutton
+ text_end
MtMoon3Script_49f76:
ld hl, MtMoon3Text_49f7f
@@ -332,75 +332,75 @@ MtMoon3Script_49f76:
jp TextScriptEnd
MtMoon3Text_49f7f:
- TX_FAR _MtMoon3Text_49f7f
- TX_WAIT
- db "@"
+ text_far _MtMoon3Text_49f7f
+ text_linkpromptbutton
+ text_end
MtMoon3Text_49f85:
- TX_FAR _MtMoon3Text_49f85
- db "@"
+ text_far _MtMoon3Text_49f85
+ text_end
MtMoon3Text_49f8a:
- TX_FAR _MtMoon3Text_49f8a
- db "@"
+ text_far _MtMoon3Text_49f8a
+ text_end
MtMoon3Text_49f8f:
- TX_FAR _MtMoon3Text_49f8f
- db "@"
+ text_far _MtMoon3Text_49f8f
+ text_end
MtMoon3Text_49f94:
- TX_FAR _MtMoon3Text_49f94
- db "@"
+ text_far _MtMoon3Text_49f94
+ text_end
MtMoon3Text_49f99:
- TX_FAR _MtMoon3Text_49f99
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _MtMoon3Text_49f99
+ sound_get_key_item
+ text_end
MtMoon3BattleText2:
- TX_FAR _MtMoon3BattleText2
- db "@"
+ text_far _MtMoon3BattleText2
+ text_end
MtMoon3EndBattleText2:
- TX_FAR _MtMoon3EndBattleText2
- db "@"
+ text_far _MtMoon3EndBattleText2
+ text_end
MtMoon3AfterBattleText2:
- TX_FAR _MtMoon3AfterBattleText2
- db "@"
+ text_far _MtMoon3AfterBattleText2
+ text_end
MtMoon3BattleText3:
- TX_FAR _MtMoon3BattleText3
- db "@"
+ text_far _MtMoon3BattleText3
+ text_end
MtMoon3EndBattleText3:
- TX_FAR _MtMoon3EndBattleText3
- db "@"
+ text_far _MtMoon3EndBattleText3
+ text_end
MtMoon3AfterBattleText3:
- TX_FAR _MtMoon3AfterBattleText3
- db "@"
+ text_far _MtMoon3AfterBattleText3
+ text_end
MtMoon3BattleText4:
- TX_FAR _MtMoon3BattleText4
- db "@"
+ text_far _MtMoon3BattleText4
+ text_end
MtMoon3EndBattleText4:
- TX_FAR _MtMoon3EndBattleText4
- db "@"
+ text_far _MtMoon3EndBattleText4
+ text_end
MtMoon3AfterBattleText4:
- TX_FAR _MtMoon3AfterBattleText4
- db "@"
+ text_far _MtMoon3AfterBattleText4
+ text_end
MtMoon3BattleText5:
- TX_FAR _MtMoon3BattleText5
- db "@"
+ text_far _MtMoon3BattleText5
+ text_end
MtMoon3EndBattleText5:
- TX_FAR _MtMoon3EndBattleText5
- db "@"
+ text_far _MtMoon3EndBattleText5
+ text_end
MtMoon3AfterBattleText5:
- TX_FAR _MtMoon3AfterBattleText5
- db "@"
+ text_far _MtMoon3AfterBattleText5
+ text_end
diff --git a/scripts/MtMoonPokecenter.asm b/scripts/MtMoonPokecenter.asm
index 969031db..8a5ca99f 100755
--- a/scripts/MtMoonPokecenter.asm
+++ b/scripts/MtMoonPokecenter.asm
@@ -14,15 +14,15 @@ MtMoonHealNurseText:
db $ff
MtMoonPokecenterText2:
- TX_FAR _MtMoonPokecenterText1
- db "@"
+ text_far _MtMoonPokecenterText1
+ text_end
MtMoonPokecenterText3:
- TX_FAR _MtMoonPokecenterText3
- db "@"
+ text_far _MtMoonPokecenterText3
+ text_end
MagikarpSalesmanText:
- TX_ASM
+ text_asm
CheckEvent EVENT_BOUGHT_MAGIKARP, 1
jp c, .alreadyBoughtMagikarp
ld hl, .Text1
@@ -71,24 +71,24 @@ MagikarpSalesmanText:
jp TextScriptEnd
.Text1
- TX_FAR _MagikarpSalesmanText1
- db "@"
+ text_far _MagikarpSalesmanText1
+ text_end
.RefuseText
- TX_FAR _MagikarpSalesmanNoText
- db "@"
+ text_far _MagikarpSalesmanNoText
+ text_end
.NoMoneyText
- TX_FAR _MagikarpSalesmanNoMoneyText
- db "@"
+ text_far _MagikarpSalesmanNoMoneyText
+ text_end
.Text2
- TX_FAR _MagikarpSalesmanText2
- db "@"
+ text_far _MagikarpSalesmanText2
+ text_end
MtMoonPokecenterText5:
- TX_FAR _MtMoonPokecenterText5
- db "@"
+ text_far _MtMoonPokecenterText5
+ text_end
MtMoonTradeNurseText:
db $f6
diff --git a/scripts/Museum1F.asm b/scripts/Museum1F.asm
index 712f1fc4..a8a609ff 100755
--- a/scripts/Museum1F.asm
+++ b/scripts/Museum1F.asm
@@ -39,7 +39,7 @@ Museum1F_TextPointers:
dw Museum1FText5
Museum1FText1:
- TX_ASM
+ text_asm
ld a, [wYCoord]
cp $4
jr nz, .asm_8774b
@@ -140,53 +140,53 @@ Museum1FScriptEnd:
jp TextScriptEnd
Museum1FText_5c21a:
- TX_FAR _Museum1FText_5c21a
- db "@"
+ text_far _Museum1FText_5c21a
+ text_end
Museum1FText_5c21f:
- TX_FAR _Museum1FText_5c21f
- db "@"
+ text_far _Museum1FText_5c21f
+ text_end
Museum1FText_5c224:
- TX_FAR _Museum1FText_5c224
- db "@"
+ text_far _Museum1FText_5c224
+ text_end
Museum1FText_5c229:
- TX_FAR _Museum1FText_5c229
- db "@"
+ text_far _Museum1FText_5c229
+ text_end
Museum1FText_5c22e:
- TX_FAR _Museum1FText_5c22e
- db "@"
+ text_far _Museum1FText_5c22e
+ text_end
Museum1FText_5c233:
- TX_FAR _Museum1FText_5c233
- db "@"
+ text_far _Museum1FText_5c233
+ text_end
Museum1FText_5c238:
- TX_FAR _Museum1FText_5c238
- db "@"
+ text_far _Museum1FText_5c238
+ text_end
Museum1FText_5c23d:
- TX_FAR _Museum1FText_5c23d
- db "@"
+ text_far _Museum1FText_5c23d
+ text_end
Museum1FText_5c242:
- TX_FAR _Museum1FText_5c242
- db "@"
+ text_far _Museum1FText_5c242
+ text_end
Museum1FText2:
- TX_ASM
+ text_asm
ld hl, Museum1FText_5c251
call PrintText
jp TextScriptEnd
Museum1FText_5c251:
- TX_FAR _Museum1FText_5c251
- db "@"
+ text_far _Museum1FText_5c251
+ text_end
Museum1FText3:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_OLD_AMBER
jr nz, .asm_5c285
ld hl, Museum1FText_5c28e
@@ -210,38 +210,38 @@ Museum1FText3:
jp TextScriptEnd
Museum1FText_5c28e:
- TX_FAR _Museum1FText_5c28e
- db "@"
+ text_far _Museum1FText_5c28e
+ text_end
ReceivedOldAmberText:
- TX_FAR _ReceivedOldAmberText
- TX_SFX_ITEM_1
- db "@"
+ text_far _ReceivedOldAmberText
+ sound_get_item_1
+ text_end
Museum1FText_5c299:
- TX_FAR _Museum1FText_5c299
- db "@"
+ text_far _Museum1FText_5c299
+ text_end
Museum1FText_5c29e:
- TX_FAR _Museum1FText_5c29e
- db "@"
+ text_far _Museum1FText_5c29e
+ text_end
Museum1FText4:
- TX_ASM
+ text_asm
ld hl, Museum1FText_5c2ad
call PrintText
jp TextScriptEnd
Museum1FText_5c2ad:
- TX_FAR _Museum1FText_5c2ad
- db "@"
+ text_far _Museum1FText_5c2ad
+ text_end
Museum1FText5:
- TX_ASM
+ text_asm
ld hl, Museum1FText_5c2bc
call PrintText
jp TextScriptEnd
Museum1FText_5c2bc:
- TX_FAR _Museum1FText_5c2bc
- db "@"
+ text_far _Museum1FText_5c2bc
+ text_end
diff --git a/scripts/Museum2F.asm b/scripts/Museum2F.asm
index ce4d3d81..8b1aa0bf 100755
--- a/scripts/Museum2F.asm
+++ b/scripts/Museum2F.asm
@@ -11,29 +11,29 @@ Museum2F_TextPointers:
dw Museum2FText7
Museum2FText1:
- TX_FAR _Museum2FText1
- db "@"
+ text_far _Museum2FText1
+ text_end
Museum2FText2:
- TX_FAR _Museum2FText2
- db "@"
+ text_far _Museum2FText2
+ text_end
Museum2FText3:
- TX_FAR _Museum2FText3
- db "@"
+ text_far _Museum2FText3
+ text_end
Museum2FText4:
- TX_FAR _Museum2FText4
- db "@"
+ text_far _Museum2FText4
+ text_end
Museum2FText5:
- TX_FAR _Museum2FText5
- db "@"
+ text_far _Museum2FText5
+ text_end
Museum2FText6:
- TX_FAR _Museum2FText6
- db "@"
+ text_far _Museum2FText6
+ text_end
Museum2FText7:
- TX_FAR _Museum2FText7
- db "@"
+ text_far _Museum2FText7
+ text_end
diff --git a/scripts/NameRatersHouse.asm b/scripts/NameRatersHouse.asm
index 323cb360..7694e92b 100755
--- a/scripts/NameRatersHouse.asm
+++ b/scripts/NameRatersHouse.asm
@@ -41,7 +41,7 @@ NameRatersHouse_TextPointers:
dw NameRaterText1
NameRaterText1:
- TX_ASM
+ text_asm
call SaveScreenTilesToBuffer2
ld hl, NameRaterText_1dab3
call NameRaterScript_1da15
@@ -79,29 +79,29 @@ NameRaterText1:
jr .asm_1daa8
NameRaterText_1dab3:
- TX_FAR _NameRaterText_1dab3
- db "@"
+ text_far _NameRaterText_1dab3
+ text_end
NameRaterText_1dab8:
- TX_FAR _NameRaterText_1dab8
- db "@"
+ text_far _NameRaterText_1dab8
+ text_end
NameRaterText_1dabd:
- TX_FAR _NameRaterText_1dabd
- db "@"
+ text_far _NameRaterText_1dabd
+ text_end
NameRaterText_1dac2:
- TX_FAR _NameRaterText_1dac2
- db "@"
+ text_far _NameRaterText_1dac2
+ text_end
NameRaterText_1dac7:
- TX_FAR _NameRaterText_1dac7
- db "@"
+ text_far _NameRaterText_1dac7
+ text_end
NameRaterText_1dacc:
- TX_FAR _NameRaterText_1dacc
- db "@"
+ text_far _NameRaterText_1dacc
+ text_end
NameRaterText_1dad1:
- TX_FAR _NameRaterText_1dad1
- db "@"
+ text_far _NameRaterText_1dad1
+ text_end
diff --git a/scripts/OaksLab.asm b/scripts/OaksLab.asm
index b3347849..a890f44e 100755
--- a/scripts/OaksLab.asm
+++ b/scripts/OaksLab.asm
@@ -762,7 +762,7 @@ OaksLab_TextPointers2:
dw OaksLabText11
OaksLabText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_FOLLOWED_OAK_INTO_LAB_2
jr nz, .beforeChooseMon
ld hl, OaksLabGaryText1
@@ -781,19 +781,19 @@ OaksLabText1:
jp TextScriptEnd
OaksLabGaryText1:
- TX_FAR _OaksLabGaryText1
- db "@"
+ text_far _OaksLabGaryText1
+ text_end
OaksLabText40:
- TX_FAR _OaksLabText40
- db "@"
+ text_far _OaksLabText40
+ text_end
OaksLabText41:
- TX_FAR _OaksLabText41
- db "@"
+ text_far _OaksLabText41
+ text_end
OaksLabText2:
- TX_ASM
+ text_asm
ld a, STARTER2
ld [wRivalStarterTemp], a
ld a, $3
@@ -803,7 +803,7 @@ OaksLabText2:
jr OaksLabScript_1d133
OaksLabText3:
- TX_ASM
+ text_asm
ld a, STARTER3
ld [wRivalStarterTemp], a
ld a, $4
@@ -813,7 +813,7 @@ OaksLabText3:
jr OaksLabScript_1d133
OaksLabText4:
- TX_ASM
+ text_asm
ld a, STARTER1
ld [wRivalStarterTemp], a
ld a, $2
@@ -835,8 +835,8 @@ OaksLabScript_1d133:
jp TextScriptEnd
OaksLabText39:
- TX_FAR _OaksLabText39
- db "@"
+ text_far _OaksLabText39
+ text_end
OaksLabScript_1d157:
ld a, $5
@@ -870,22 +870,22 @@ OaksLabLookAtCharmander:
ld hl, OaksLabCharmanderText
jr OaksLabMonChoiceMenu
OaksLabCharmanderText:
- TX_FAR _OaksLabCharmanderText
- db "@"
+ text_far _OaksLabCharmanderText
+ text_end
OaksLabLookAtSquirtle:
ld hl, OaksLabSquirtleText
jr OaksLabMonChoiceMenu
OaksLabSquirtleText:
- TX_FAR _OaksLabSquirtleText
- db "@"
+ text_far _OaksLabSquirtleText
+ text_end
OaksLabLookAtBulbasaur:
ld hl, OaksLabBulbasaurText
jr OaksLabMonChoiceMenu
OaksLabBulbasaurText:
- TX_FAR _OaksLabBulbasaurText
- db "@"
+ text_far _OaksLabBulbasaurText
+ text_end
OaksLabMonChoiceMenu:
call PrintText
@@ -937,13 +937,13 @@ OaksLabMonChoiceEnd:
jp TextScriptEnd
OaksLabMonEnergeticText:
- TX_FAR _OaksLabMonEnergeticText
- db "@"
+ text_far _OaksLabMonEnergeticText
+ text_end
OaksLabReceivedMonText:
- TX_FAR _OaksLabReceivedMonText
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _OaksLabReceivedMonText
+ sound_get_key_item
+ text_end
OaksLabScript_1d22d:
ld a, $5
@@ -957,12 +957,12 @@ OaksLabScript_1d22d:
jp TextScriptEnd
OaksLabLastMonText:
- TX_FAR _OaksLabLastMonText
- db "@"
+ text_far _OaksLabLastMonText
+ text_end
OaksLabText32:
OaksLabText5:
- TX_ASM
+ text_asm
CheckEvent EVENT_PALLET_AFTER_GETTING_POKEBALLS
jr nz, .asm_1d266
ld hl, wPokedexOwned
@@ -1033,201 +1033,201 @@ OaksLabText5:
jp TextScriptEnd
OaksLabText_1d2f0:
- TX_FAR _OaksLabText_1d2f0
- db "@"
+ text_far _OaksLabText_1d2f0
+ text_end
OaksLabText_1d2f5:
- TX_FAR _OaksLabText_1d2f5
- db "@"
+ text_far _OaksLabText_1d2f5
+ text_end
OaksLabText_1d2fa:
- TX_FAR _OaksLabText_1d2fa
- db "@"
+ text_far _OaksLabText_1d2fa
+ text_end
OaksLabDeliverParcelText:
- TX_FAR _OaksLabDeliverParcelText1
- TX_SFX_KEY_ITEM
- TX_FAR _OaksLabDeliverParcelText2
- db "@"
+ text_far _OaksLabDeliverParcelText1
+ sound_get_key_item
+ text_far _OaksLabDeliverParcelText2
+ text_end
OaksLabAroundWorldText:
- TX_FAR _OaksLabAroundWorldText
- db "@"
+ text_far _OaksLabAroundWorldText
+ text_end
OaksLabGivePokeballsText:
- TX_FAR _OaksLabGivePokeballsText1
- TX_SFX_KEY_ITEM
- TX_FAR _OaksLabGivePokeballsText2
- db "@"
+ text_far _OaksLabGivePokeballsText1
+ sound_get_key_item
+ text_far _OaksLabGivePokeballsText2
+ text_end
OaksLabPleaseVisitText:
- TX_FAR _OaksLabPleaseVisitText
- db "@"
+ text_far _OaksLabPleaseVisitText
+ text_end
OaksLabText_1d31d:
- TX_FAR _OaksLabText_1d31d
- db "@"
+ text_far _OaksLabText_1d31d
+ text_end
OaksLabText7:
OaksLabText6:
- TX_ASM
+ text_asm
ld hl, OaksLabText_1d32c
call PrintText
jp TextScriptEnd
OaksLabText_1d32c:
- TX_FAR _OaksLabText_1d32c
- db "@"
+ text_far _OaksLabText_1d32c
+ text_end
OaksLabText8:
- TX_FAR _OaksLabText8
- db "@"
+ text_far _OaksLabText8
+ text_end
OaksLabText9:
- TX_ASM
+ text_asm
ld hl, OaksLabText_1d340
call PrintText
jp TextScriptEnd
OaksLabText_1d340:
- TX_FAR _OaksLabText_1d340
- db "@"
+ text_far _OaksLabText_1d340
+ text_end
OaksLabText17:
- TX_ASM
+ text_asm
ld hl, OaksLabRivalWaitingText
call PrintText
jp TextScriptEnd
OaksLabRivalWaitingText:
- TX_FAR _OaksLabRivalWaitingText
- db "@"
+ text_far _OaksLabRivalWaitingText
+ text_end
OaksLabText18:
- TX_ASM
+ text_asm
ld hl, OaksLabChooseMonText
call PrintText
jp TextScriptEnd
OaksLabChooseMonText:
- TX_FAR _OaksLabChooseMonText
- db "@"
+ text_far _OaksLabChooseMonText
+ text_end
OaksLabText19:
- TX_ASM
+ text_asm
ld hl, OaksLabRivalInterjectionText
call PrintText
jp TextScriptEnd
OaksLabRivalInterjectionText:
- TX_FAR _OaksLabRivalInterjectionText
- db "@"
+ text_far _OaksLabRivalInterjectionText
+ text_end
OaksLabText20:
- TX_ASM
+ text_asm
ld hl, OaksLabBePatientText
call PrintText
jp TextScriptEnd
OaksLabBePatientText:
- TX_FAR _OaksLabBePatientText
- db "@"
+ text_far _OaksLabBePatientText
+ text_end
OaksLabText12:
- TX_ASM
+ text_asm
ld hl, OaksLabLeavingText
call PrintText
jp TextScriptEnd
OaksLabLeavingText:
- TX_FAR _OaksLabLeavingText
- db "@"
+ text_far _OaksLabLeavingText
+ text_end
OaksLabText13:
- TX_ASM
+ text_asm
ld hl, OaksLabRivalPickingMonText
call PrintText
jp TextScriptEnd
OaksLabRivalPickingMonText:
- TX_FAR _OaksLabRivalPickingMonText
- db "@"
+ text_far _OaksLabRivalPickingMonText
+ text_end
OaksLabText14:
- TX_ASM
+ text_asm
ld hl, OaksLabRivalReceivedMonText
call PrintText
jp TextScriptEnd
OaksLabRivalReceivedMonText:
- TX_FAR _OaksLabRivalReceivedMonText
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _OaksLabRivalReceivedMonText
+ sound_get_key_item
+ text_end
OaksLabText15:
- TX_ASM
+ text_asm
ld hl, OaksLabRivalChallengeText
call PrintText
jp TextScriptEnd
OaksLabRivalChallengeText:
- TX_FAR _OaksLabRivalChallengeText
- db "@"
+ text_far _OaksLabRivalChallengeText
+ text_end
OaksLabText_1d3be:
- TX_FAR _OaksLabText_1d3be
- db "@"
+ text_far _OaksLabText_1d3be
+ text_end
OaksLabText_1d3c3:
- TX_FAR _OaksLabText_1d3c3
- db "@"
+ text_far _OaksLabText_1d3c3
+ text_end
OaksLabText16:
- TX_ASM
+ text_asm
ld hl, OaksLabRivalToughenUpText
call PrintText
jp TextScriptEnd
OaksLabRivalToughenUpText:
- TX_FAR _OaksLabRivalToughenUpText
- db "@"
+ text_far _OaksLabRivalToughenUpText
+ text_end
OaksLabText21:
- TX_FAR _OaksLabText21
- db "@"
+ text_far _OaksLabText21
+ text_end
OaksLabText22:
- TX_FAR _OaksLabText22
- db "@"
+ text_far _OaksLabText22
+ text_end
OaksLabText23:
- TX_FAR _OaksLabText23
- db "@"
+ text_far _OaksLabText23
+ text_end
OaksLabText24:
- TX_FAR _OaksLabText24
- db "@"
+ text_far _OaksLabText24
+ text_end
OaksLabText25:
- TX_FAR _OaksLabText25
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _OaksLabText25
+ sound_get_key_item
+ text_end
OaksLabText26:
- TX_FAR _OaksLabText26
- db "@"
+ text_far _OaksLabText26
+ text_end
OaksLabText27:
- TX_FAR _OaksLabText27
- db "@"
+ text_far _OaksLabText27
+ text_end
OaksLabText11:
OaksLabText10:
- TX_ASM
+ text_asm
ld hl, OaksLabText_1d405
call PrintText
jp TextScriptEnd
OaksLabText_1d405:
- TX_FAR _OaksLabText_1d405
- db "@"
+ text_far _OaksLabText_1d405
+ text_end
diff --git a/scripts/PalletTown.asm b/scripts/PalletTown.asm
index ff500ca0..579e8cd8 100755
--- a/scripts/PalletTown.asm
+++ b/scripts/PalletTown.asm
@@ -158,7 +158,7 @@ PalletTown_TextPointers:
dw PalletTownText7
PalletTownText1:
- TX_ASM
+ text_asm
ld a, [wcf0d]
and a
jr nz, .next
@@ -173,8 +173,8 @@ PalletTownText1:
jp TextScriptEnd
OakAppearsText:
- TX_FAR _OakAppearsText
- TX_ASM
+ text_far _OakAppearsText
+ text_asm
ld c, 10
call DelayFrames
xor a
@@ -186,29 +186,29 @@ OakAppearsText:
jp TextScriptEnd
OakWalksUpText:
- TX_FAR _OakWalksUpText
- db "@"
+ text_far _OakWalksUpText
+ text_end
PalletTownText2: ; girl
- TX_FAR _PalletTownText2
- db "@"
+ text_far _PalletTownText2
+ text_end
PalletTownText3: ; fat man
- TX_FAR _PalletTownText3
- db "@"
+ text_far _PalletTownText3
+ text_end
PalletTownText4: ; sign by lab
- TX_FAR _PalletTownText4
- db "@"
+ text_far _PalletTownText4
+ text_end
PalletTownText5: ; sign by fence
- TX_FAR _PalletTownText5
- db "@"
+ text_far _PalletTownText5
+ text_end
PalletTownText6: ; sign by Red’s house
- TX_FAR _PalletTownText6
- db "@"
+ text_far _PalletTownText6
+ text_end
PalletTownText7: ; sign by Blue’s house
- TX_FAR _PalletTownText7
- db "@"
+ text_far _PalletTownText7
+ text_end
diff --git a/scripts/PewterCity.asm b/scripts/PewterCity.asm
index 86037c13..a082d5eb 100755
--- a/scripts/PewterCity.asm
+++ b/scripts/PewterCity.asm
@@ -193,15 +193,15 @@ PewterCity_TextPointers:
dw PewterCityText14
PewterCityText1:
- TX_FAR _PewterCityText1
- db "@"
+ text_far _PewterCityText1
+ text_end
PewterCityText2:
- TX_FAR _PewterCityText2
- db "@"
+ text_far _PewterCityText2
+ text_end
PewterCityText3:
- TX_ASM
+ text_asm
ld hl, PewterCityText_193f1
call PrintText
call YesNoChoice
@@ -231,23 +231,23 @@ PewterCityText3:
jp TextScriptEnd
PewterCityText_193f1:
- TX_FAR _PewterCityText_193f1
- db "@"
+ text_far _PewterCityText_193f1
+ text_end
PewterCityText_193f6:
- TX_FAR _PewterCityText_193f6
- db "@"
+ text_far _PewterCityText_193f6
+ text_end
PewterCityText_193fb:
- TX_FAR _PewterCityText_193fb
- db "@"
+ text_far _PewterCityText_193fb
+ text_end
PewterCityText13:
- TX_FAR _PewterCityText13
- db "@"
+ text_far _PewterCityText13
+ text_end
PewterCityText4:
- TX_ASM
+ text_asm
ld hl, PewterCityText_19427
call PrintText
call YesNoChoice
@@ -264,19 +264,19 @@ PewterCityText4:
jp TextScriptEnd
PewterCityText_19427:
- TX_FAR _PewterCityText_19427
- db "@"
+ text_far _PewterCityText_19427
+ text_end
PewterCityText_1942c:
- TX_FAR _PewterCityText_1942c
- db "@"
+ text_far _PewterCityText_1942c
+ text_end
PewterCityText_19431:
- TX_FAR _PewterCityText_19431
- db "@"
+ text_far _PewterCityText_19431
+ text_end
PewterCityText5:
- TX_ASM
+ text_asm
ld hl, PewterCityText_1945d
call PrintText
xor a
@@ -294,29 +294,29 @@ PewterCityText5:
jp TextScriptEnd
PewterCityText_1945d:
- TX_FAR _PewterCityText_1945d
- db "@"
+ text_far _PewterCityText_1945d
+ text_end
PewterCityText14:
- TX_FAR _PewterCityText14
- db "@"
+ text_far _PewterCityText14
+ text_end
PewterCityText6:
- TX_FAR _PewterCityText6
- db "@"
+ text_far _PewterCityText6
+ text_end
PewterCityText7:
- TX_FAR _PewterCityText7
- db "@"
+ text_far _PewterCityText7
+ text_end
PewterCityText10:
- TX_FAR _PewterCityText10
- db "@"
+ text_far _PewterCityText10
+ text_end
PewterCityText11:
- TX_FAR _PewterCityText11
- db "@"
+ text_far _PewterCityText11
+ text_end
PewterCityText12:
- TX_FAR _PewterCityText12
- db "@"
+ text_far _PewterCityText12
+ text_end
diff --git a/scripts/PewterGym.asm b/scripts/PewterGym.asm
index 643fe41c..8e3bdc46 100755
--- a/scripts/PewterGym.asm
+++ b/scripts/PewterGym.asm
@@ -99,7 +99,7 @@ PewterGymTrainerHeader0:
db $ff
PewterGymText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_BROCK
jr z, .beginBattle
CheckEventReuseA EVENT_GOT_TM34
@@ -135,53 +135,53 @@ PewterGymText1:
jp TextScriptEnd
PewterGymText_5c49e:
- TX_FAR _PewterGymText_5c49e
- db "@"
+ text_far _PewterGymText_5c49e
+ text_end
PewterGymText_5c4a3:
- TX_FAR _PewterGymText_5c4a3
- db "@"
+ text_far _PewterGymText_5c4a3
+ text_end
PewterGymText4:
- TX_FAR _TM34PreReceiveText
- db "@"
+ text_far _TM34PreReceiveText
+ text_end
PewterGymText5:
- TX_FAR _ReceivedTM34Text
- TX_SFX_ITEM_1
- TX_FAR _TM34ExplanationText
- db "@"
+ text_far _ReceivedTM34Text
+ sound_get_item_1
+ text_far _TM34ExplanationText
+ text_end
PewterGymText6:
- TX_FAR _TM34NoRoomText
- db "@"
+ text_far _TM34NoRoomText
+ text_end
PewterGymText_5c4bc:
- TX_FAR _PewterGymText_5c4bc
- TX_SFX_LEVEL_UP ; probably supposed to play SFX_GET_ITEM_1 but the wrong music bank is loaded
- TX_FAR _PewterGymText_5c4c1
- db "@"
+ text_far _PewterGymText_5c4bc
+ sound_level_up ; probably supposed to play SFX_GET_ITEM_1 but the wrong music bank is loaded
+ text_far _PewterGymText_5c4c1
+ text_end
PewterGymText2:
- TX_ASM
+ text_asm
ld hl, PewterGymTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
PewterGymBattleText1:
- TX_FAR _PewterGymBattleText1
- db "@"
+ text_far _PewterGymBattleText1
+ text_end
PewterGymEndBattleText1:
- TX_FAR _PewterGymEndBattleText1
- db "@"
+ text_far _PewterGymEndBattleText1
+ text_end
PewterGymAfterBattleText1:
- TX_FAR _PewterGymAfterBattleText1
- db "@"
+ text_far _PewterGymAfterBattleText1
+ text_end
PewterGymText3:
- TX_ASM
+ text_asm
ld a, [wBeatGymFlags]
bit 0, a
jr nz, .asm_5c50c
@@ -208,21 +208,21 @@ PewterGymText3:
jp TextScriptEnd
PewterGymText_5c515:
- TX_FAR _PewterGymText_5c515
- db "@"
+ text_far _PewterGymText_5c515
+ text_end
PewterGymText_5c51a:
- TX_FAR _PewterGymText_5c51a
- db "@"
+ text_far _PewterGymText_5c51a
+ text_end
PewterGymText_5c51f:
- TX_FAR _PewterGymText_5c51f
- db "@"
+ text_far _PewterGymText_5c51f
+ text_end
PewterGymText_5c524:
- TX_FAR _PewterGymText_5c524
- db "@"
+ text_far _PewterGymText_5c524
+ text_end
PewterGymText_5c529:
- TX_FAR _PewterGymText_5c529
- db "@"
+ text_far _PewterGymText_5c529
+ text_end
diff --git a/scripts/PewterMart.asm b/scripts/PewterMart.asm
index c71f8413..b2ae5a11 100755
--- a/scripts/PewterMart.asm
+++ b/scripts/PewterMart.asm
@@ -10,19 +10,19 @@ PewterMart_TextPointers:
dw PewterMartText3
PewterMartText2:
- TX_ASM
+ text_asm
ld hl, .Text
call PrintText
jp TextScriptEnd
.Text
- TX_FAR _PewterMartText2
- db "@"
+ text_far _PewterMartText2
+ text_end
PewterMartText3:
- TX_ASM
+ text_asm
ld hl, .Text
call PrintText
jp TextScriptEnd
.Text
- TX_FAR _PewterMartText3
- db "@"
+ text_far _PewterMartText3
+ text_end
diff --git a/scripts/PewterNidoranHouse.asm b/scripts/PewterNidoranHouse.asm
index a4e85e08..93d430c0 100755
--- a/scripts/PewterNidoranHouse.asm
+++ b/scripts/PewterNidoranHouse.asm
@@ -7,17 +7,17 @@ PewterNidoranHouse_TextPointers:
dw PewterHouse1Text3
PewterHouse1Text1:
- TX_FAR _PewterHouse1Text1
- TX_ASM
+ text_far _PewterHouse1Text1
+ text_asm
ld a, NIDORAN_M
call PlayCry
call WaitForSoundToFinish
jp TextScriptEnd
PewterHouse1Text2:
- TX_FAR _PewterHouse1Text2
- db "@"
+ text_far _PewterHouse1Text2
+ text_end
PewterHouse1Text3:
- TX_FAR _PewterHouse1Text3
- db "@"
+ text_far _PewterHouse1Text3
+ text_end
diff --git a/scripts/PewterPokecenter.asm b/scripts/PewterPokecenter.asm
index be933fee..1c626541 100755
--- a/scripts/PewterPokecenter.asm
+++ b/scripts/PewterPokecenter.asm
@@ -9,14 +9,14 @@ PewterPokecenter_TextPointers:
dw PewterTradeNurseText
PewterHealNurseText:
- TX_POKECENTER_NURSE
+ script_pokecenter_nurse
PewterPokecenterText2:
- TX_FAR _PewterPokecenterText2
- db "@"
+ text_far _PewterPokecenterText2
+ text_end
PewterJigglypuffText:
- TX_ASM
+ text_asm
ld a, $1
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ld hl, .Text
@@ -71,8 +71,8 @@ PewterJigglypuffText:
jp TextScriptEnd
.Text
- TX_FAR _PewterJigglypuffText
- db "@"
+ text_far _PewterJigglypuffText
+ text_end
JigglypuffFacingDirections:
db $30 | SPRITE_FACING_DOWN
@@ -82,4 +82,4 @@ JigglypuffFacingDirections:
JigglypuffFacingDirectionsEnd:
PewterTradeNurseText:
- TX_CABLE_CLUB_RECEPTIONIST
+ script_cable_club_receptionist
diff --git a/scripts/PewterSpeechHouse.asm b/scripts/PewterSpeechHouse.asm
index 943e1759..5d3d9249 100755
--- a/scripts/PewterSpeechHouse.asm
+++ b/scripts/PewterSpeechHouse.asm
@@ -6,9 +6,9 @@ PewterSpeechHouse_TextPointers:
dw PewterHouse2Text2
PewterHouse2Text1:
- TX_FAR _PewterHouse2Text1
- db "@"
+ text_far _PewterHouse2Text1
+ text_end
PewterHouse2Text2:
- TX_FAR _PewterHouse2Text2
- db "@"
+ text_far _PewterHouse2Text2
+ text_end
diff --git a/scripts/PokemonFanClub.asm b/scripts/PokemonFanClub.asm
index 673d6011..62a5ce84 100755
--- a/scripts/PokemonFanClub.asm
+++ b/scripts/PokemonFanClub.asm
@@ -23,7 +23,7 @@ PokemonFanClub_TextPointers:
FanClubText1:
; pikachu fan
- TX_ASM
+ text_asm
CheckEvent EVENT_PIKACHU_FAN_BOAST
jr nz, .mineisbetter
ld hl, .normaltext
@@ -38,16 +38,16 @@ FanClubText1:
jp TextScriptEnd
.normaltext
- TX_FAR PikachuFanText
- db "@"
+ text_far PikachuFanText
+ text_end
.bettertext
- TX_FAR PikachuFanBetterText
- db "@"
+ text_far PikachuFanBetterText
+ text_end
FanClubText2:
; seel fan
- TX_ASM
+ text_asm
CheckEvent EVENT_SEEL_FAN_BOAST
jr nz, .mineisbetter
ld hl, .normaltext
@@ -62,16 +62,16 @@ FanClubText2:
jp TextScriptEnd
.normaltext
- TX_FAR SeelFanText
- db "@"
+ text_far SeelFanText
+ text_end
.bettertext
- TX_FAR SeelFanBetterText
- db "@"
+ text_far SeelFanBetterText
+ text_end
FanClubText3:
; pikachu
- TX_ASM
+ text_asm
ld hl, .text
call PrintText
ld a, PIKACHU
@@ -80,12 +80,12 @@ FanClubText3:
jp TextScriptEnd
.text
- TX_FAR FanClubPikachuText
- db "@"
+ text_far FanClubPikachuText
+ text_end
FanClubText4:
; seel
- TX_ASM
+ text_asm
ld hl, .text
call PrintText
ld a, SEEL
@@ -94,12 +94,12 @@ FanClubText4:
jp TextScriptEnd
.text
- TX_FAR FanClubSeelText
- db "@"
+ text_far FanClubSeelText
+ text_end
FanClubText5:
; chair
- TX_ASM
+ text_asm
call FanClubBikeInBag
jr nz, .nothingleft
@@ -135,39 +135,39 @@ FanClubText5:
jp TextScriptEnd
.meetchairtext
- TX_FAR FanClubMeetChairText
- db "@"
+ text_far FanClubMeetChairText
+ text_end
.storytext
- TX_FAR FanClubChairStoryText
- db "@"
+ text_far FanClubChairStoryText
+ text_end
.receivedvouchertext
- TX_FAR ReceivedBikeVoucherText
- TX_SFX_KEY_ITEM
- TX_FAR ExplainBikeVoucherText
- db "@"
+ text_far ReceivedBikeVoucherText
+ sound_get_key_item
+ text_far ExplainBikeVoucherText
+ text_end
.nostorytext
- TX_FAR FanClubNoStoryText
- db "@"
+ text_far FanClubNoStoryText
+ text_end
.finaltext
- TX_FAR FanClubChairFinalText
- db "@"
+ text_far FanClubChairFinalText
+ text_end
.bagfulltext
- TX_FAR FanClubBagFullText
- db "@"
+ text_far FanClubBagFullText
+ text_end
FanClubText6:
- TX_FAR _FanClubText6
- db "@"
+ text_far _FanClubText6
+ text_end
FanClubText7:
- TX_FAR _FanClubText7
- db "@"
+ text_far _FanClubText7
+ text_end
FanClubText8:
- TX_FAR _FanClubText8
- db "@"
+ text_far _FanClubText8
+ text_end
diff --git a/scripts/PokemonMansion1F.asm b/scripts/PokemonMansion1F.asm
index 028097af..d369e992 100755
--- a/scripts/PokemonMansion1F.asm
+++ b/scripts/PokemonMansion1F.asm
@@ -78,25 +78,25 @@ Mansion1TrainerHeader0:
db $ff
Mansion1Text1:
- TX_ASM
+ text_asm
ld hl, Mansion1TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Mansion1BattleText2:
- TX_FAR _Mansion1BattleText2
- db "@"
+ text_far _Mansion1BattleText2
+ text_end
Mansion1EndBattleText2:
- TX_FAR _Mansion1EndBattleText2
- db "@"
+ text_far _Mansion1EndBattleText2
+ text_end
Mansion1AfterBattleText2:
- TX_FAR _Mansion1AfterBattleText2
- db "@"
+ text_far _Mansion1AfterBattleText2
+ text_end
Mansion1Text4:
- TX_ASM
+ text_asm
ld hl, MansionSwitchText
call PrintText
call YesNoChoice
@@ -122,13 +122,13 @@ Mansion1Text4:
jp TextScriptEnd
MansionSwitchText:
- TX_FAR _MansionSwitchText
- db "@"
+ text_far _MansionSwitchText
+ text_end
MansionSwitchPressedText:
- TX_FAR _MansionSwitchPressedText
- db "@"
+ text_far _MansionSwitchPressedText
+ text_end
MansionSwitchNotPressedText:
- TX_FAR _MansionSwitchNotPressedText
- db "@"
+ text_far _MansionSwitchNotPressedText
+ text_end
diff --git a/scripts/PokemonMansion2F.asm b/scripts/PokemonMansion2F.asm
index f5643dad..3ddc28a5 100755
--- a/scripts/PokemonMansion2F.asm
+++ b/scripts/PokemonMansion2F.asm
@@ -75,34 +75,34 @@ Mansion2TrainerHeader0:
db $ff
Mansion2Text1:
- TX_ASM
+ text_asm
ld hl, Mansion2TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Mansion2BattleText1:
- TX_FAR _Mansion2BattleText1
- db "@"
+ text_far _Mansion2BattleText1
+ text_end
Mansion2EndBattleText1:
- TX_FAR _Mansion2EndBattleText1
- db "@"
+ text_far _Mansion2EndBattleText1
+ text_end
Mansion2AfterBattleText1:
- TX_FAR _Mansion2AfterBattleText1
- db "@"
+ text_far _Mansion2AfterBattleText1
+ text_end
Mansion2Text3:
- TX_FAR _Mansion2Text3
- db "@"
+ text_far _Mansion2Text3
+ text_end
Mansion2Text4:
- TX_FAR _Mansion2Text4
- db "@"
+ text_far _Mansion2Text4
+ text_end
Mansion3Text6:
Mansion2Text5:
- TX_ASM
+ text_asm
ld hl, Mansion2Text_520c2
call PrintText
call YesNoChoice
@@ -128,13 +128,13 @@ Mansion2Text5:
jp TextScriptEnd
Mansion2Text_520c2:
- TX_FAR _Mansion2Text_520c2
- db "@"
+ text_far _Mansion2Text_520c2
+ text_end
Mansion2Text_520c7:
- TX_FAR _Mansion2Text_520c7
- db "@"
+ text_far _Mansion2Text_520c7
+ text_end
Mansion2Text_520cc:
- TX_FAR _Mansion2Text_520cc
- db "@"
+ text_far _Mansion2Text_520cc
+ text_end
diff --git a/scripts/PokemonMansion3F.asm b/scripts/PokemonMansion3F.asm
index 532394d4..a04c3b1f 100755
--- a/scripts/PokemonMansion3F.asm
+++ b/scripts/PokemonMansion3F.asm
@@ -111,41 +111,41 @@ Mansion3TrainerHeader1:
db $ff
Mansion3Text1:
- TX_ASM
+ text_asm
ld hl, Mansion3TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Mansion3Text2:
- TX_ASM
+ text_asm
ld hl, Mansion3TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Mansion3BattleText1:
- TX_FAR _Mansion3BattleText1
- db "@"
+ text_far _Mansion3BattleText1
+ text_end
Mansion3EndBattleText1:
- TX_FAR _Mansion3EndBattleText1
- db "@"
+ text_far _Mansion3EndBattleText1
+ text_end
Mansion3AfterBattleText1:
- TX_FAR _Mansion3AfterBattleText1
- db "@"
+ text_far _Mansion3AfterBattleText1
+ text_end
Mansion3BattleText2:
- TX_FAR _Mansion3BattleText2
- db "@"
+ text_far _Mansion3BattleText2
+ text_end
Mansion3EndBattleText2:
- TX_FAR _Mansion3EndBattleText2
- db "@"
+ text_far _Mansion3EndBattleText2
+ text_end
Mansion3AfterBattleText2:
- TX_FAR _Mansion3AfterBattleText2
- db "@"
+ text_far _Mansion3AfterBattleText2
+ text_end
Mansion3Text5:
- TX_FAR _Mansion3Text5
- db "@"
+ text_far _Mansion3Text5
+ text_end
diff --git a/scripts/PokemonMansionB1F.asm b/scripts/PokemonMansionB1F.asm
index f8a20590..99e866d8 100755
--- a/scripts/PokemonMansionB1F.asm
+++ b/scripts/PokemonMansionB1F.asm
@@ -90,41 +90,41 @@ Mansion4TrainerHeader1:
db $ff
Mansion4Text1:
- TX_ASM
+ text_asm
ld hl, Mansion4TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Mansion4Text2:
- TX_ASM
+ text_asm
ld hl, Mansion4TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Mansion4BattleText1:
- TX_FAR _Mansion4BattleText1
- db "@"
+ text_far _Mansion4BattleText1
+ text_end
Mansion4EndBattleText1:
- TX_FAR _Mansion4EndBattleText1
- db "@"
+ text_far _Mansion4EndBattleText1
+ text_end
Mansion4AfterBattleText1:
- TX_FAR _Mansion4AfterBattleText1
- db "@"
+ text_far _Mansion4AfterBattleText1
+ text_end
Mansion4BattleText2:
- TX_FAR _Mansion4BattleText2
- db "@"
+ text_far _Mansion4BattleText2
+ text_end
Mansion4EndBattleText2:
- TX_FAR _Mansion4EndBattleText2
- db "@"
+ text_far _Mansion4EndBattleText2
+ text_end
Mansion4AfterBattleText2:
- TX_FAR _Mansion4AfterBattleText2
- db "@"
+ text_far _Mansion4AfterBattleText2
+ text_end
Mansion4Text7:
- TX_FAR _Mansion4Text7
- db "@"
+ text_far _Mansion4Text7
+ text_end
diff --git a/scripts/PokemonTower1F.asm b/scripts/PokemonTower1F.asm
index 66b5505c..65614523 100755
--- a/scripts/PokemonTower1F.asm
+++ b/scripts/PokemonTower1F.asm
@@ -9,21 +9,21 @@ PokemonTower1F_TextPointers:
dw PokemonTower1Text5
PokemonTower1Text1:
- TX_FAR _PokemonTower1Text1
- db "@"
+ text_far _PokemonTower1Text1
+ text_end
PokemonTower1Text2:
- TX_FAR _PokemonTower1Text2
- db "@"
+ text_far _PokemonTower1Text2
+ text_end
PokemonTower1Text3:
- TX_FAR _PokemonTower1Text3
- db "@"
+ text_far _PokemonTower1Text3
+ text_end
PokemonTower1Text4:
- TX_FAR _PokemonTower1Text4
- db "@"
+ text_far _PokemonTower1Text4
+ text_end
PokemonTower1Text5:
- TX_FAR _PokemonTower1Text5
- db "@"
+ text_far _PokemonTower1Text5
+ text_end
diff --git a/scripts/PokemonTower2F.asm b/scripts/PokemonTower2F.asm
index cc00d938..4cf308b5 100755
--- a/scripts/PokemonTower2F.asm
+++ b/scripts/PokemonTower2F.asm
@@ -127,7 +127,7 @@ PokemonTower2F_TextPointers:
dw PokemonTower2Text2
PokemonTower2Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_POKEMON_TOWER_RIVAL
jr z, .asm_16f24
ld hl, PokemonTower2Text_6063c
@@ -168,21 +168,21 @@ PokemonTower2Text1:
jp TextScriptEnd
PokemonTower2Text_6062d:
- TX_FAR _PokemonTower2Text_6062d
- db "@"
+ text_far _PokemonTower2Text_6062d
+ text_end
PokemonTower2Text_60632:
- TX_FAR _PokemonTower2Text_60632
- db "@"
+ text_far _PokemonTower2Text_60632
+ text_end
PokemonTower2Text_60637:
- TX_FAR _PokemonTower2Text_60637
- db "@"
+ text_far _PokemonTower2Text_60637
+ text_end
PokemonTower2Text_6063c:
- TX_FAR _PokemonTower2Text_6063c
- db "@"
+ text_far _PokemonTower2Text_6063c
+ text_end
PokemonTower2Text2:
- TX_FAR _PokemonTower2Text2
- db "@"
+ text_far _PokemonTower2Text2
+ text_end
diff --git a/scripts/PokemonTower3F.asm b/scripts/PokemonTower3F.asm
index 7d8f63e9..d35bd758 100755
--- a/scripts/PokemonTower3F.asm
+++ b/scripts/PokemonTower3F.asm
@@ -47,55 +47,55 @@ PokemonTower3TrainerHeader2:
db $ff
PokemonTower3Text1:
- TX_ASM
+ text_asm
ld hl, PokemonTower3TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
PokemonTower3Text2:
- TX_ASM
+ text_asm
ld hl, PokemonTower3TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
PokemonTower3Text3:
- TX_ASM
+ text_asm
ld hl, PokemonTower3TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
PokemonTower3BattleText1:
- TX_FAR _PokemonTower3BattleText1
- db "@"
+ text_far _PokemonTower3BattleText1
+ text_end
PokemonTower3EndBattleText1:
- TX_FAR _PokemonTower3EndBattleText1
- db "@"
+ text_far _PokemonTower3EndBattleText1
+ text_end
PokemonTower3AfterBattleText1:
- TX_FAR _PokemonTower3AfterBattleText1
- db "@"
+ text_far _PokemonTower3AfterBattleText1
+ text_end
PokemonTower3BattleText2:
- TX_FAR _PokemonTower3BattleText2
- db "@"
+ text_far _PokemonTower3BattleText2
+ text_end
PokemonTower3EndBattleText2:
- TX_FAR _PokemonTower3EndBattleText2
- db "@"
+ text_far _PokemonTower3EndBattleText2
+ text_end
PokemonTower3AfterBattleText2:
- TX_FAR _PokemonTower3AfterBattleText2
- db "@"
+ text_far _PokemonTower3AfterBattleText2
+ text_end
PokemonTower3BattleText3:
- TX_FAR _PokemonTower3BattleText3
- db "@"
+ text_far _PokemonTower3BattleText3
+ text_end
PokemonTower3EndBattleText3:
- TX_FAR _PokemonTower3EndBattleText3
- db "@"
+ text_far _PokemonTower3EndBattleText3
+ text_end
PokemonTower3AfterBattleText3:
- TX_FAR _PokemonTower3AfterBattleText3
- db "@"
+ text_far _PokemonTower3AfterBattleText3
+ text_end
diff --git a/scripts/PokemonTower4F.asm b/scripts/PokemonTower4F.asm
index b8e0d772..17a679b2 100755
--- a/scripts/PokemonTower4F.asm
+++ b/scripts/PokemonTower4F.asm
@@ -50,55 +50,55 @@ PokemonTower4TrainerHeader2:
db $ff
PokemonTower4Text1:
- TX_ASM
+ text_asm
ld hl, PokemonTower4TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
PokemonTower4Text2:
- TX_ASM
+ text_asm
ld hl, PokemonTower4TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
PokemonTower4Text3:
- TX_ASM
+ text_asm
ld hl, PokemonTower4TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
PokemonTower4BattleText1:
- TX_FAR _PokemonTower4BattleText1
- db "@"
+ text_far _PokemonTower4BattleText1
+ text_end
PokemonTower4EndBattleText1:
- TX_FAR _PokemonTower4EndBattleText1
- db "@"
+ text_far _PokemonTower4EndBattleText1
+ text_end
PokemonTower4AfterBattleText1:
- TX_FAR _PokemonTower4AfterBattleText1
- db "@"
+ text_far _PokemonTower4AfterBattleText1
+ text_end
PokemonTower4BattleText2:
- TX_FAR _PokemonTower4BattleText2
- db "@"
+ text_far _PokemonTower4BattleText2
+ text_end
PokemonTower4EndBattleText2:
- TX_FAR _PokemonTower4EndBattleText2
- db "@"
+ text_far _PokemonTower4EndBattleText2
+ text_end
PokemonTower4AfterBattleText2:
- TX_FAR _PokemonTower4AfterBattleText2
- db "@"
+ text_far _PokemonTower4AfterBattleText2
+ text_end
PokemonTower4BattleText3:
- TX_FAR _PokemonTower4BattleText3
- db "@"
+ text_far _PokemonTower4BattleText3
+ text_end
PokemonTower4EndBattleText3:
- TX_FAR _PokemonTower4EndBattleText3
- db "@"
+ text_far _PokemonTower4EndBattleText3
+ text_end
PokemonTower4AfterBattleText3:
- TX_FAR _PokemonTower4AfterBattleText3
- db "@"
+ text_far _PokemonTower4AfterBattleText3
+ text_end
diff --git a/scripts/PokemonTower5F.asm b/scripts/PokemonTower5F.asm
index 299261e9..de09ec49 100755
--- a/scripts/PokemonTower5F.asm
+++ b/scripts/PokemonTower5F.asm
@@ -96,81 +96,81 @@ PokemonTower5TrainerHeader3:
db $ff
PokemonTower5Text1:
- TX_FAR _PokemonTower5Text1
- db "@"
+ text_far _PokemonTower5Text1
+ text_end
PokemonTower5Text2:
- TX_ASM
+ text_asm
ld hl, PokemonTower5TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
PokemonTower5BattleText1:
- TX_FAR _PokemonTower5BattleText1
- db "@"
+ text_far _PokemonTower5BattleText1
+ text_end
PokemonTower5EndBattleText1:
- TX_FAR _PokemonTower5EndBattleText1
- db "@"
+ text_far _PokemonTower5EndBattleText1
+ text_end
PokemonTower5AfterBattleText1:
- TX_FAR _PokemonTower5AfterBattleText1
- db "@"
+ text_far _PokemonTower5AfterBattleText1
+ text_end
PokemonTower5Text3:
- TX_ASM
+ text_asm
ld hl, PokemonTower5TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
PokemonTower5BattleText2:
- TX_FAR _PokemonTower5BattleText2
- db "@"
+ text_far _PokemonTower5BattleText2
+ text_end
PokemonTower5EndBattleText2:
- TX_FAR _PokemonTower5EndBattleText2
- db "@"
+ text_far _PokemonTower5EndBattleText2
+ text_end
PokemonTower5AfterBattleText2:
- TX_FAR _PokemonTower5AfterBattleText2
- db "@"
+ text_far _PokemonTower5AfterBattleText2
+ text_end
PokemonTower5Text4:
- TX_ASM
+ text_asm
ld hl, PokemonTower5TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
PokemonTower5BattleText3:
- TX_FAR _PokemonTower5BattleText3
- db "@"
+ text_far _PokemonTower5BattleText3
+ text_end
PokemonTower5EndBattleText3:
- TX_FAR _PokemonTower5EndBattleText3
- db "@"
+ text_far _PokemonTower5EndBattleText3
+ text_end
PokemonTower5AfterBattleText3:
- TX_FAR _PokemonTower5AfterBattleText3
- db "@"
+ text_far _PokemonTower5AfterBattleText3
+ text_end
PokemonTower5Text5:
- TX_ASM
+ text_asm
ld hl, PokemonTower5TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
PokemonTower5BattleText4:
- TX_FAR _PokemonTower5BattleText4
- db "@"
+ text_far _PokemonTower5BattleText4
+ text_end
PokemonTower5EndBattleText4:
- TX_FAR _PokemonTower5EndBattleText4
- db "@"
+ text_far _PokemonTower5EndBattleText4
+ text_end
PokemonTower5AfterBattleText4:
- TX_FAR _PokemonTower5AfterBattleText4
- db "@"
+ text_far _PokemonTower5AfterBattleText4
+ text_end
PokemonTower5Text7:
- TX_FAR _PokemonTower5Text7
- db "@"
+ text_far _PokemonTower5Text7
+ text_end
diff --git a/scripts/PokemonTower6F.asm b/scripts/PokemonTower6F.asm
index 14c07c48..2590e70f 100755
--- a/scripts/PokemonTower6F.asm
+++ b/scripts/PokemonTower6F.asm
@@ -133,25 +133,25 @@ PokemonTower6TrainerHeader2:
db $ff
PokemonTower6Text1:
- TX_ASM
+ text_asm
ld hl, PokemonTower6TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
PokemonTower6Text2:
- TX_ASM
+ text_asm
ld hl, PokemonTower6TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
PokemonTower6Text3:
- TX_ASM
+ text_asm
ld hl, PokemonTower6TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
PokemonTower6Text7:
- TX_ASM
+ text_asm
ld hl, PokemonTower2Text_60c1f
call PrintText
ld a, MAROWAK
@@ -164,49 +164,49 @@ PokemonTower6Text7:
jp TextScriptEnd
PokemonTower2Text_60c1f:
- TX_FAR _PokemonTower2Text_60c1f
- db "@"
+ text_far _PokemonTower2Text_60c1f
+ text_end
PokemonTower2Text_60c24:
- TX_FAR _PokemonTower2Text_60c24
- db "@"
+ text_far _PokemonTower2Text_60c24
+ text_end
PokemonTower6BattleText1:
- TX_FAR _PokemonTower6BattleText1
- db "@"
+ text_far _PokemonTower6BattleText1
+ text_end
PokemonTower6EndBattleText1:
- TX_FAR _PokemonTower6EndBattleText1
- db "@"
+ text_far _PokemonTower6EndBattleText1
+ text_end
PokemonTower6AfterBattleText1:
- TX_FAR _PokemonTower6AfterBattleText1
- db "@"
+ text_far _PokemonTower6AfterBattleText1
+ text_end
PokemonTower6BattleText2:
- TX_FAR _PokemonTower6BattleText2
- db "@"
+ text_far _PokemonTower6BattleText2
+ text_end
PokemonTower6EndBattleText2:
- TX_FAR _PokemonTower6EndBattleText2
- db "@"
+ text_far _PokemonTower6EndBattleText2
+ text_end
PokemonTower6AfterBattleText2:
- TX_FAR _PokemonTower6AfterBattleText2
- db "@"
+ text_far _PokemonTower6AfterBattleText2
+ text_end
PokemonTower6BattleText3:
- TX_FAR _PokemonTower6BattleText3
- db "@"
+ text_far _PokemonTower6BattleText3
+ text_end
PokemonTower6EndBattleText3:
- TX_FAR _PokemonTower6EndBattleText3
- db "@"
+ text_far _PokemonTower6EndBattleText3
+ text_end
PokemonTower6AfterBattleText3:
- TX_FAR _PokemonTower6AfterBattleText3
- db "@"
+ text_far _PokemonTower6AfterBattleText3
+ text_end
PokemonTower6Text6:
- TX_FAR _PokemonTower6Text6
- db "@"
+ text_far _PokemonTower6Text6
+ text_end
diff --git a/scripts/PokemonTower7F.asm b/scripts/PokemonTower7F.asm
index fa2ca9bc..498b8c8f 100755
--- a/scripts/PokemonTower7F.asm
+++ b/scripts/PokemonTower7F.asm
@@ -234,25 +234,25 @@ PokemonTower7TrainerHeader2:
db $ff
PokemonTower7Text1:
- TX_ASM
+ text_asm
ld hl, PokemonTower7TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
PokemonTower7Text2:
- TX_ASM
+ text_asm
ld hl, PokemonTower7TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
PokemonTower7Text3:
- TX_ASM
+ text_asm
ld hl, PokemonTower7TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
PokemonTower7FujiText:
- TX_ASM
+ text_asm
ld hl, TowerRescueFujiText
call PrintText
SetEvent EVENT_RESCUED_MR_FUJI
@@ -272,41 +272,41 @@ PokemonTower7FujiText:
jp TextScriptEnd
TowerRescueFujiText:
- TX_FAR _TowerRescueFujiText
- db "@"
+ text_far _TowerRescueFujiText
+ text_end
PokemonTower7BattleText1:
- TX_FAR _PokemonTower7BattleText1
- db "@"
+ text_far _PokemonTower7BattleText1
+ text_end
PokemonTower7EndBattleText1:
- TX_FAR _PokemonTower7EndBattleText1
- db "@"
+ text_far _PokemonTower7EndBattleText1
+ text_end
PokemonTower7AfterBattleText1:
- TX_FAR _PokemonTower7AfterBattleText1
- db "@"
+ text_far _PokemonTower7AfterBattleText1
+ text_end
PokemonTower7BattleText2:
- TX_FAR _PokemonTower7BattleText2
- db "@"
+ text_far _PokemonTower7BattleText2
+ text_end
PokemonTower7EndBattleText2:
- TX_FAR _PokemonTower7EndBattleText2
- db "@"
+ text_far _PokemonTower7EndBattleText2
+ text_end
PokemonTower7AfterBattleText2:
- TX_FAR _PokemonTower7AfterBattleText2
- db "@"
+ text_far _PokemonTower7AfterBattleText2
+ text_end
PokemonTower7BattleText3:
- TX_FAR _PokemonTower7BattleText3
- db "@"
+ text_far _PokemonTower7BattleText3
+ text_end
PokemonTower7EndBattleText3:
- TX_FAR _PokemonTower7EndBattleText3
- db "@"
+ text_far _PokemonTower7EndBattleText3
+ text_end
PokemonTower7AfterBattleText3:
- TX_FAR _PokemonTower7AfterBattleText3
- db "@"
+ text_far _PokemonTower7AfterBattleText3
+ text_end
diff --git a/scripts/PowerPlant.asm b/scripts/PowerPlant.asm
index f720b6f8..c5c0e0e9 100755
--- a/scripts/PowerPlant.asm
+++ b/scripts/PowerPlant.asm
@@ -118,57 +118,57 @@ InitVoltorbBattle:
jp TextScriptEnd
Voltorb0Text:
- TX_ASM
+ text_asm
ld hl, Voltorb0TrainerHeader
jr InitVoltorbBattle
Voltorb1Text:
- TX_ASM
+ text_asm
ld hl, Voltorb1TrainerHeader
jr InitVoltorbBattle
Voltorb2Text:
- TX_ASM
+ text_asm
ld hl, Voltorb2TrainerHeader
jr InitVoltorbBattle
Voltorb3Text:
- TX_ASM
+ text_asm
ld hl, Voltorb3TrainerHeader
jr InitVoltorbBattle
Voltorb4Text:
- TX_ASM
+ text_asm
ld hl, Voltorb4TrainerHeader
jr InitVoltorbBattle
Voltorb5Text:
- TX_ASM
+ text_asm
ld hl, Voltorb5TrainerHeader
jr InitVoltorbBattle
Voltorb6Text:
- TX_ASM
+ text_asm
ld hl, Voltorb6TrainerHeader
jr InitVoltorbBattle
Voltorb7Text:
- TX_ASM
+ text_asm
ld hl, Voltorb7TrainerHeader
jr InitVoltorbBattle
ZapdosText:
- TX_ASM
+ text_asm
ld hl, ZapdosTrainerHeader
jr InitVoltorbBattle
VoltorbBattleText:
- TX_FAR _VoltorbBattleText
- db "@"
+ text_far _VoltorbBattleText
+ text_end
ZapdosBattleText:
- TX_FAR _ZapdosBattleText
- TX_ASM
+ text_far _ZapdosBattleText
+ text_asm
ld a, ZAPDOS
call PlayCry
call WaitForSoundToFinish
diff --git a/scripts/RedsHouse1F.asm b/scripts/RedsHouse1F.asm
index b982d71c..cb071537 100755
--- a/scripts/RedsHouse1F.asm
+++ b/scripts/RedsHouse1F.asm
@@ -6,7 +6,7 @@ RedsHouse1F_TextPointers:
dw RedsHouse1FText2
RedsHouse1FText1: ; Mom
- TX_ASM
+ text_asm
ld a, [wd72e]
bit 3, a
jr nz, .heal ; if player has received a Pokémon from Oak, heal team
@@ -19,8 +19,8 @@ RedsHouse1FText1: ; Mom
jp TextScriptEnd
MomWakeUpText:
- TX_FAR _MomWakeUpText
- db "@"
+ text_far _MomWakeUpText
+ text_end
MomHealPokemon:
ld hl, MomHealText1
@@ -43,14 +43,14 @@ MomHealPokemon:
jp PrintText
MomHealText1:
- TX_FAR _MomHealText1
- db "@"
+ text_far _MomHealText1
+ text_end
MomHealText2:
- TX_FAR _MomHealText2
- db "@"
+ text_far _MomHealText2
+ text_end
RedsHouse1FText2: ; TV
- TX_ASM
+ text_asm
ld a, [wSpriteStateData1 + 9]
cp SPRITE_FACING_UP
ld hl, TVWrongSideText
@@ -61,9 +61,9 @@ RedsHouse1FText2: ; TV
jp TextScriptEnd
StandByMeText:
- TX_FAR _StandByMeText
- db "@"
+ text_far _StandByMeText
+ text_end
TVWrongSideText:
- TX_FAR _TVWrongSideText
- db "@"
+ text_far _TVWrongSideText
+ text_end
diff --git a/scripts/RedsHouse2F.asm b/scripts/RedsHouse2F.asm
index 5ec86678..69a62f81 100755
--- a/scripts/RedsHouse2F.asm
+++ b/scripts/RedsHouse2F.asm
@@ -21,4 +21,4 @@ RedsHouse2FScript1:
ret
RedsHouse2F_TextPointers:
- db "@"
+ text_end
diff --git a/scripts/RockTunnel1F.asm b/scripts/RockTunnel1F.asm
index 94620d96..41645f4a 100755
--- a/scripts/RockTunnel1F.asm
+++ b/scripts/RockTunnel1F.asm
@@ -88,126 +88,126 @@ RockTunnel1TrainerHeader6:
db $ff
RockTunnel1Text1:
- TX_ASM
+ text_asm
ld hl, RockTunnel1TrainerHeader0
jr RockTunnel1TalkToTrainer
RockTunnel1Text2:
- TX_ASM
+ text_asm
ld hl, RockTunnel1TrainerHeader1
jr RockTunnel1TalkToTrainer
RockTunnel1Text3:
- TX_ASM
+ text_asm
ld hl, RockTunnel1TrainerHeader2
jr RockTunnel1TalkToTrainer
RockTunnel1Text4:
- TX_ASM
+ text_asm
ld hl, RockTunnel1TrainerHeader3
jr RockTunnel1TalkToTrainer
RockTunnel1Text5:
- TX_ASM
+ text_asm
ld hl, RockTunnel1TrainerHeader4
jr RockTunnel1TalkToTrainer
RockTunnel1Text6:
- TX_ASM
+ text_asm
ld hl, RockTunnel1TrainerHeader5
jr RockTunnel1TalkToTrainer
RockTunnel1Text7:
- TX_ASM
+ text_asm
ld hl, RockTunnel1TrainerHeader6
RockTunnel1TalkToTrainer:
call TalkToTrainer
jp TextScriptEnd
RockTunnel1BattleText1:
- TX_FAR _RockTunnel1BattleText1
- db "@"
+ text_far _RockTunnel1BattleText1
+ text_end
RockTunnel1EndBattleText1:
- TX_FAR _RockTunnel1EndBattleText1
- db "@"
+ text_far _RockTunnel1EndBattleText1
+ text_end
RockTunnel1AfterBattleText1:
- TX_FAR _RockTunnel1AfterBattleText1
- db "@"
+ text_far _RockTunnel1AfterBattleText1
+ text_end
RockTunnel1BattleText2:
- TX_FAR _RockTunnel1BattleText2
- db "@"
+ text_far _RockTunnel1BattleText2
+ text_end
RockTunnel1EndBattleText2:
- TX_FAR _RockTunnel1EndBattleText2
- db "@"
+ text_far _RockTunnel1EndBattleText2
+ text_end
RockTunnel1AfterBattleText2:
- TX_FAR _RockTunnel1AfterBattleText2
- db "@"
+ text_far _RockTunnel1AfterBattleText2
+ text_end
RockTunnel1BattleText3:
- TX_FAR _RockTunnel1BattleText3
- db "@"
+ text_far _RockTunnel1BattleText3
+ text_end
RockTunnel1EndBattleText3:
- TX_FAR _RockTunnel1EndBattleText3
- db "@"
+ text_far _RockTunnel1EndBattleText3
+ text_end
RockTunnel1AfterBattleText3:
- TX_FAR _RockTunnel1AfterBattleText3
- db "@"
+ text_far _RockTunnel1AfterBattleText3
+ text_end
RockTunnel1BattleText4:
- TX_FAR _RockTunnel1BattleText4
- db "@"
+ text_far _RockTunnel1BattleText4
+ text_end
RockTunnel1EndBattleText4:
- TX_FAR _RockTunnel1EndBattleText4
- db "@"
+ text_far _RockTunnel1EndBattleText4
+ text_end
RockTunnel1AfterBattleText4:
- TX_FAR _RockTunnel1AfterBattleText4
- db "@"
+ text_far _RockTunnel1AfterBattleText4
+ text_end
RockTunnel1BattleText5:
- TX_FAR _RockTunnel1BattleText5
- db "@"
+ text_far _RockTunnel1BattleText5
+ text_end
RockTunnel1EndBattleText5:
- TX_FAR _RockTunnel1EndBattleText5
- db "@"
+ text_far _RockTunnel1EndBattleText5
+ text_end
RockTunnel1AfterBattleText5:
- TX_FAR _RockTunnel1AfterBattleText5
- db "@"
+ text_far _RockTunnel1AfterBattleText5
+ text_end
RockTunnel1BattleText6:
- TX_FAR _RockTunnel1BattleText6
- db "@"
+ text_far _RockTunnel1BattleText6
+ text_end
RockTunnel1EndBattleText6:
- TX_FAR _RockTunnel1EndBattleText6
- db "@"
+ text_far _RockTunnel1EndBattleText6
+ text_end
RockTunnel1AfterBattleText6:
- TX_FAR _RockTunnel1AfterBattleText6
- db "@"
+ text_far _RockTunnel1AfterBattleText6
+ text_end
RockTunnel1BattleText7:
- TX_FAR _RockTunnel1BattleText7
- db "@"
+ text_far _RockTunnel1BattleText7
+ text_end
RockTunnel1EndBattleText7:
- TX_FAR _RockTunnel1EndBattleText7
- db "@"
+ text_far _RockTunnel1EndBattleText7
+ text_end
RockTunnel1AfterBattleText7:
- TX_FAR _RockTunnel1AfterBattleText7
- db "@"
+ text_far _RockTunnel1AfterBattleText7
+ text_end
RockTunnel1Text8:
- TX_FAR _RockTunnel1Text8
- db "@"
+ text_far _RockTunnel1Text8
+ text_end
diff --git a/scripts/RockTunnelB1F.asm b/scripts/RockTunnelB1F.asm
index 7e6fcc8b..2a96ae49 100755
--- a/scripts/RockTunnelB1F.asm
+++ b/scripts/RockTunnelB1F.asm
@@ -97,145 +97,145 @@ RockTunnel2TrainerHeader7:
db $ff
RockTunnel2Text1:
- TX_ASM
+ text_asm
ld hl, RockTunnel2TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
RockTunnel2Text2:
- TX_ASM
+ text_asm
ld hl, RockTunnel2TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
RockTunnel2Text3:
- TX_ASM
+ text_asm
ld hl, RockTunnel2TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
RockTunnel2Text4:
- TX_ASM
+ text_asm
ld hl, RockTunnel2TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
RockTunnel2Text5:
- TX_ASM
+ text_asm
ld hl, RockTunnel2TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
RockTunnel2Text6:
- TX_ASM
+ text_asm
ld hl, RockTunnel2TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
RockTunnel2Text7:
- TX_ASM
+ text_asm
ld hl, RockTunnel2TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
RockTunnel2Text8:
- TX_ASM
+ text_asm
ld hl, RockTunnel2TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
RockTunnel2BattleText2:
- TX_FAR _RockTunnel2BattleText2
- db "@"
+ text_far _RockTunnel2BattleText2
+ text_end
RockTunnel2EndBattleText2:
- TX_FAR _RockTunnel2EndBattleText2
- db "@"
+ text_far _RockTunnel2EndBattleText2
+ text_end
RockTunnel2AfterBattleText2:
- TX_FAR _RockTunnel2AfterBattleText2
- db "@"
+ text_far _RockTunnel2AfterBattleText2
+ text_end
RockTunnel2BattleText3:
- TX_FAR _RockTunnel2BattleText3
- db "@"
+ text_far _RockTunnel2BattleText3
+ text_end
RockTunnel2EndBattleText3:
- TX_FAR _RockTunnel2EndBattleText3
- db "@"
+ text_far _RockTunnel2EndBattleText3
+ text_end
RockTunnel2AfterBattleText3:
- TX_FAR _RockTunnel2AfterBattleText3
- db "@"
+ text_far _RockTunnel2AfterBattleText3
+ text_end
RockTunnel2BattleText4:
- TX_FAR _RockTunnel2BattleText4
- db "@"
+ text_far _RockTunnel2BattleText4
+ text_end
RockTunnel2EndBattleText4:
- TX_FAR _RockTunnel2EndBattleText4
- db "@"
+ text_far _RockTunnel2EndBattleText4
+ text_end
RockTunnel2AfterBattleText4:
- TX_FAR _RockTunnel2AfterBattleText4
- db "@"
+ text_far _RockTunnel2AfterBattleText4
+ text_end
RockTunnel2BattleText5:
- TX_FAR _RockTunnel2BattleText5
- db "@"
+ text_far _RockTunnel2BattleText5
+ text_end
RockTunnel2EndBattleText5:
- TX_FAR _RockTunnel2EndBattleText5
- db "@"
+ text_far _RockTunnel2EndBattleText5
+ text_end
RockTunnel2AfterBattleText5:
- TX_FAR _RockTunnel2AfterBattleText5
- db "@"
+ text_far _RockTunnel2AfterBattleText5
+ text_end
RockTunnel2BattleText6:
- TX_FAR _RockTunnel2BattleText6
- db "@"
+ text_far _RockTunnel2BattleText6
+ text_end
RockTunnel2EndBattleText6:
- TX_FAR _RockTunnel2EndBattleText6
- db "@"
+ text_far _RockTunnel2EndBattleText6
+ text_end
RockTunnel2AfterBattleText6:
- TX_FAR _RockTunnel2AfterBattleText6
- db "@"
+ text_far _RockTunnel2AfterBattleText6
+ text_end
RockTunnel2BattleText7:
- TX_FAR _RockTunnel2BattleText7
- db "@"
+ text_far _RockTunnel2BattleText7
+ text_end
RockTunnel2EndBattleText7:
- TX_FAR _RockTunnel2EndBattleText7
- db "@"
+ text_far _RockTunnel2EndBattleText7
+ text_end
RockTunnel2AfterBattleText7:
- TX_FAR _RockTunnel2AfterBattleText7
- db "@"
+ text_far _RockTunnel2AfterBattleText7
+ text_end
RockTunnel2BattleText8:
- TX_FAR _RockTunnel2BattleText8
- db "@"
+ text_far _RockTunnel2BattleText8
+ text_end
RockTunnel2EndBattleText8:
- TX_FAR _RockTunnel2EndBattleText8
- db "@"
+ text_far _RockTunnel2EndBattleText8
+ text_end
RockTunnel2AfterBattleText8:
- TX_FAR _RockTunnel2AfterBattleText8
- db "@"
+ text_far _RockTunnel2AfterBattleText8
+ text_end
RockTunnel2BattleText9:
- TX_FAR _RockTunnel2BattleText9
- db "@"
+ text_far _RockTunnel2BattleText9
+ text_end
RockTunnel2EndBattleText9:
- TX_FAR _RockTunnel2EndBattleText9
- db "@"
+ text_far _RockTunnel2EndBattleText9
+ text_end
RockTunnel2AfterBattleText9:
- TX_FAR _RockTunnel2AfterBattleText9
- db "@"
+ text_far _RockTunnel2AfterBattleText9
+ text_end
diff --git a/scripts/RockTunnelPokecenter.asm b/scripts/RockTunnelPokecenter.asm
index cbcd6318..999edf13 100755
--- a/scripts/RockTunnelPokecenter.asm
+++ b/scripts/RockTunnelPokecenter.asm
@@ -12,12 +12,12 @@ RockTunnelHealNurseText:
db $ff
RockTunnelPokecenterText2:
- TX_FAR _RockTunnelPokecenterText2
- db "@"
+ text_far _RockTunnelPokecenterText2
+ text_end
RockTunnelPokecenterText3:
- TX_FAR _RockTunnelPokecenterText3
- db "@"
+ text_far _RockTunnelPokecenterText3
+ text_end
RockTunnelTradeNurseText:
db $f6
diff --git a/scripts/RocketHideoutB1F.asm b/scripts/RocketHideoutB1F.asm
index 0cbddb49..762a6b72 100755
--- a/scripts/RocketHideoutB1F.asm
+++ b/scripts/RocketHideoutB1F.asm
@@ -92,98 +92,98 @@ RocketHideout1TrainerHeader4:
db $ff
RocketHideout1Text1:
- TX_ASM
+ text_asm
ld hl, RocketHideout1TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
RocketHideout1Text2:
- TX_ASM
+ text_asm
ld hl, RocketHideout1TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
RocketHideout1Text3:
- TX_ASM
+ text_asm
ld hl, RocketHideout1TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
RocketHideout1Text4:
- TX_ASM
+ text_asm
ld hl, RocketHideout1TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
RocketHideout1Text5:
- TX_ASM
+ text_asm
ld hl, RocketHideout1TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
RocketHideout1EndBattleText6:
- TX_FAR _RocketHideout1EndBattleText6
- TX_ASM
+ text_far _RocketHideout1EndBattleText6
+ text_asm
SetEvent EVENT_BEAT_ROCKET_HIDEOUT_1_TRAINER_4
ld hl, RocketHideout1Text_44c9f
ret
RocketHideout1Text_44c9f:
- TX_BLINK
- db "@"
+ text_promptbutton
+ text_end
RocketHideout1BattleText2:
- TX_FAR _RocketHideout1BattleText2
- db "@"
+ text_far _RocketHideout1BattleText2
+ text_end
RocketHideout1EndBattleText2:
- TX_FAR _RocketHideout1EndBattleText2
- db "@"
+ text_far _RocketHideout1EndBattleText2
+ text_end
RocketHideout1AfterBattleTxt2:
- TX_FAR _RocketHideout1AfterBattleTxt2
- db "@"
+ text_far _RocketHideout1AfterBattleTxt2
+ text_end
RocketHideout1BattleText3:
- TX_FAR _RocketHideout1BattleText3
- db "@"
+ text_far _RocketHideout1BattleText3
+ text_end
RocketHideout1EndBattleText3:
- TX_FAR _RocketHideout1EndBattleText3
- db "@"
+ text_far _RocketHideout1EndBattleText3
+ text_end
RocketHideout1AfterBattleTxt3:
- TX_FAR _RocketHideout1AfterBattleTxt3
- db "@"
+ text_far _RocketHideout1AfterBattleTxt3
+ text_end
RocketHideout1BattleText4:
- TX_FAR _RocketHideout1BattleText4
- db "@"
+ text_far _RocketHideout1BattleText4
+ text_end
RocketHideout1EndBattleText4:
- TX_FAR _RocketHideout1EndBattleText4
- db "@"
+ text_far _RocketHideout1EndBattleText4
+ text_end
RocketHideout1AfterBattleTxt4:
- TX_FAR _RocketHideout1AfterBattleTxt4
- db "@"
+ text_far _RocketHideout1AfterBattleTxt4
+ text_end
RocketHideout1BattleText5:
- TX_FAR _RocketHideout1BattleText5
- db "@"
+ text_far _RocketHideout1BattleText5
+ text_end
RocketHideout1EndBattleText5:
- TX_FAR _RocketHideout1EndBattleText5
- db "@"
+ text_far _RocketHideout1EndBattleText5
+ text_end
RocketHideout1AfterBattleTxt5:
- TX_FAR _RocketHideout1AfterBattleTxt5
- db "@"
+ text_far _RocketHideout1AfterBattleTxt5
+ text_end
RocketHideout1BattleText6:
- TX_FAR _RocketHideout1BattleText6
- db "@"
+ text_far _RocketHideout1BattleText6
+ text_end
RocketHideout1AfterBattleTxt6:
- TX_FAR _RocketHideout1AfterBattleTxt6
- db "@"
+ text_far _RocketHideout1AfterBattleTxt6
+ text_end
diff --git a/scripts/RocketHideoutB2F.asm b/scripts/RocketHideoutB2F.asm
index 40e2acc4..23eca790 100755
--- a/scripts/RocketHideoutB2F.asm
+++ b/scripts/RocketHideoutB2F.asm
@@ -432,19 +432,19 @@ RocketHideout2TrainerHeader0:
db $ff
RocketHideout2Text1:
- TX_ASM
+ text_asm
ld hl, RocketHideout2TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
RocketHideout2BattleText2:
- TX_FAR _RocketHideout2BattleText2
- db "@"
+ text_far _RocketHideout2BattleText2
+ text_end
RocketHideout2EndBattleText2:
- TX_FAR _RocketHideout2EndBattleText2
- db "@"
+ text_far _RocketHideout2EndBattleText2
+ text_end
RocketHideout2AfterBattleTxt2:
- TX_FAR _RocketHideout2AfterBattleTxt2
- db "@"
+ text_far _RocketHideout2AfterBattleTxt2
+ text_end
diff --git a/scripts/RocketHideoutB3F.asm b/scripts/RocketHideoutB3F.asm
index 4dd537b3..09a47a1d 100755
--- a/scripts/RocketHideoutB3F.asm
+++ b/scripts/RocketHideoutB3F.asm
@@ -170,37 +170,37 @@ RocketHideout3TrainerHeader1:
db $ff
RocketHideout3Text1:
- TX_ASM
+ text_asm
ld hl, RocketHideout3TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
RocketHideout3BattleText2:
- TX_FAR _RocketHideout3BattleText2
- db "@"
+ text_far _RocketHideout3BattleText2
+ text_end
RocketHideout3EndBattleText2:
- TX_FAR _RocketHideout3EndBattleText2
- db "@"
+ text_far _RocketHideout3EndBattleText2
+ text_end
RocketHideout3AfterBattleTxt2:
- TX_FAR _RocketHideout3AfterBattleTxt2
- db "@"
+ text_far _RocketHideout3AfterBattleTxt2
+ text_end
RocketHideout3Text2:
- TX_ASM
+ text_asm
ld hl, RocketHideout3TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
RocketHideout3BattleTxt:
- TX_FAR _RocketHideout3BattleTxt
- db "@"
+ text_far _RocketHideout3BattleTxt
+ text_end
RocketHideout3EndBattleText3:
- TX_FAR _RocketHideout3EndBattleText3
- db "@"
+ text_far _RocketHideout3EndBattleText3
+ text_end
RocketHideout3AfterBattleText3:
- TX_FAR _RocketHide3AfterBattleText3
- db "@"
+ text_far _RocketHide3AfterBattleText3
+ text_end
diff --git a/scripts/RocketHideoutB4F.asm b/scripts/RocketHideoutB4F.asm
index 71fe7d1c..81762a8f 100755
--- a/scripts/RocketHideoutB4F.asm
+++ b/scripts/RocketHideoutB4F.asm
@@ -114,7 +114,7 @@ RocketHideout4TrainerHeader2:
db $ff
RocketHideout4Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_ROCKET_HIDEOUT_GIOVANNI
jp nz, .asm_545571
ld hl, RocketHideout4Text_4557a
@@ -142,69 +142,69 @@ RocketHideout4Text1:
jp TextScriptEnd
RocketHideout4Text_4557a:
- TX_FAR _RocketHideout4Text_4557a
- db "@"
+ text_far _RocketHideout4Text_4557a
+ text_end
RocketHideout4Text_4557f:
- TX_FAR _RocketHideout4Text_4557f
- db "@"
+ text_far _RocketHideout4Text_4557f
+ text_end
RocketHideout4Text10:
- TX_FAR _RocketHideout4Text_45584
- db "@"
+ text_far _RocketHideout4Text_45584
+ text_end
RocketHideout4Text2:
- TX_ASM
+ text_asm
ld hl, RocketHideout4TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
RocketHideout4BattleText2:
- TX_FAR _RocketHideout4BattleText2
- db "@"
+ text_far _RocketHideout4BattleText2
+ text_end
RocketHideout4EndBattleText2:
- TX_FAR _RocketHideout4EndBattleText2
- db "@"
+ text_far _RocketHideout4EndBattleText2
+ text_end
RocketHideout4AfterBattleText2:
- TX_FAR _RocketHide4AfterBattleText2
- db "@"
+ text_far _RocketHide4AfterBattleText2
+ text_end
RocketHideout4Text3:
- TX_ASM
+ text_asm
ld hl, RocketHideout4TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
RocketHideout4BattleText3:
- TX_FAR _RocketHideout4BattleText3
- db "@"
+ text_far _RocketHideout4BattleText3
+ text_end
RocketHideout4EndBattleText3:
- TX_FAR _RocketHideout4EndBattleText3
- db "@"
+ text_far _RocketHideout4EndBattleText3
+ text_end
RocketHideout4AfterBattleText3:
- TX_FAR _RocketHide4AfterBattleText3
- db "@"
+ text_far _RocketHide4AfterBattleText3
+ text_end
RocketHideout4Text4:
- TX_ASM
+ text_asm
ld hl, RocketHideout4TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
RocketHideout4BattleText4:
- TX_FAR _RocketHideout4BattleText4
- db "@"
+ text_far _RocketHideout4BattleText4
+ text_end
RocketHideout4EndBattleText4:
- TX_FAR _RocketHideout4EndBattleText4
- db "@"
+ text_far _RocketHideout4EndBattleText4
+ text_end
RocketHideout4AfterBattleText4:
- TX_ASM
+ text_asm
ld hl, RocketHideout4Text_455ec
call PrintText
CheckAndSetEvent EVENT_ROCKET_DROPPED_LIFT_KEY
@@ -216,5 +216,5 @@ RocketHideout4AfterBattleText4:
jp TextScriptEnd
RocketHideout4Text_455ec:
- TX_FAR _RocketHideout4Text_455ec
- db "@"
+ text_far _RocketHideout4Text_455ec
+ text_end
diff --git a/scripts/RocketHideoutElevator.asm b/scripts/RocketHideoutElevator.asm
index 9525db3a..f4317ec0 100755
--- a/scripts/RocketHideoutElevator.asm
+++ b/scripts/RocketHideoutElevator.asm
@@ -65,7 +65,7 @@ RocketHideoutElevator_TextPointers:
dw RocketHideoutElevatorText1
RocketHideoutElevatorText1:
- TX_ASM
+ text_asm
ld b, LIFT_KEY
call IsItemInBag
jr z, .asm_45782
@@ -80,6 +80,6 @@ RocketHideoutElevatorText1:
jp TextScriptEnd
RocketHideoutElevatorText_4578b:
- TX_FAR _RocketElevatorText_4578b
- TX_WAIT
- db "@"
+ text_far _RocketElevatorText_4578b
+ text_linkpromptbutton
+ text_end
diff --git a/scripts/Route1.asm b/scripts/Route1.asm
index e733b54d..3aa948c7 100755
--- a/scripts/Route1.asm
+++ b/scripts/Route1.asm
@@ -7,7 +7,7 @@ Route1_TextPointers:
dw Route1Text3
Route1Text1:
- TX_ASM
+ text_asm
CheckAndSetEvent EVENT_GOT_POTION_SAMPLE
jr nz, .asm_1cada
ld hl, Route1ViridianMartSampleText
@@ -27,26 +27,26 @@ Route1Text1:
jp TextScriptEnd
Route1ViridianMartSampleText:
- TX_FAR _Route1ViridianMartSampleText
- db "@"
+ text_far _Route1ViridianMartSampleText
+ text_end
Route1Text_1cae8:
- TX_FAR _Route1Text_1cae8
- TX_SFX_ITEM_1
- db "@"
+ text_far _Route1Text_1cae8
+ sound_get_item_1
+ text_end
Route1Text_1caee:
- TX_FAR _Route1Text_1caee
- db "@"
+ text_far _Route1Text_1caee
+ text_end
Route1Text_1caf3:
- TX_FAR _Route1Text_1caf3
- db "@"
+ text_far _Route1Text_1caf3
+ text_end
Route1Text2:
- TX_FAR _Route1Text2
- db "@"
+ text_far _Route1Text2
+ text_end
Route1Text3:
- TX_FAR _Route1Text3
- db "@"
+ text_far _Route1Text3
+ text_end
diff --git a/scripts/Route10.asm b/scripts/Route10.asm
index 3fffa2c0..99b9313f 100755
--- a/scripts/Route10.asm
+++ b/scripts/Route10.asm
@@ -81,118 +81,118 @@ Route10TrainerHeader5:
db $ff
Route10Text1:
- TX_ASM
+ text_asm
ld hl, Route10TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route10BattleText1:
- TX_FAR _Route10BattleText1
- db "@"
+ text_far _Route10BattleText1
+ text_end
Route10EndBattleText1:
- TX_FAR _Route10EndBattleText1
- db "@"
+ text_far _Route10EndBattleText1
+ text_end
Route10AfterBattleText1:
- TX_FAR _Route10AfterBattleText1
- db "@"
+ text_far _Route10AfterBattleText1
+ text_end
Route10Text2:
- TX_ASM
+ text_asm
ld hl, Route10TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route10BattleText2:
- TX_FAR _Route10BattleText2
- db "@"
+ text_far _Route10BattleText2
+ text_end
Route10EndBattleText2:
- TX_FAR _Route10EndBattleText2
- db "@"
+ text_far _Route10EndBattleText2
+ text_end
Route10AfterBattleText2:
- TX_FAR _Route10AfterBattleText2
- db "@"
+ text_far _Route10AfterBattleText2
+ text_end
Route10Text3:
- TX_ASM
+ text_asm
ld hl, Route10TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route10BattleText3:
- TX_FAR _Route10BattleText3
- db "@"
+ text_far _Route10BattleText3
+ text_end
Route10EndBattleText3:
- TX_FAR _Route10EndBattleText3
- db "@"
+ text_far _Route10EndBattleText3
+ text_end
Route10AfterBattleText3:
- TX_FAR _Route10AfterBattleText3
- db "@"
+ text_far _Route10AfterBattleText3
+ text_end
Route10Text4:
- TX_ASM
+ text_asm
ld hl, Route10TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route10BattleText4:
- TX_FAR _Route10BattleText4
- db "@"
+ text_far _Route10BattleText4
+ text_end
Route10EndBattleText4:
- TX_FAR _Route10EndBattleText4
- db "@"
+ text_far _Route10EndBattleText4
+ text_end
Route10AfterBattleText4:
- TX_FAR _Route10AfterBattleText4
- db "@"
+ text_far _Route10AfterBattleText4
+ text_end
Route10Text5:
- TX_ASM
+ text_asm
ld hl, Route10TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route10BattleText5:
- TX_FAR _Route10BattleText5
- db "@"
+ text_far _Route10BattleText5
+ text_end
Route10EndBattleText5:
- TX_FAR _Route10EndBattleText5
- db "@"
+ text_far _Route10EndBattleText5
+ text_end
Route10AfterBattleText5:
- TX_FAR _Route10AfterBattleText5
- db "@"
+ text_far _Route10AfterBattleText5
+ text_end
Route10Text6:
- TX_ASM
+ text_asm
ld hl, Route10TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route10BattleText6:
- TX_FAR _Route10BattleText6
- db "@"
+ text_far _Route10BattleText6
+ text_end
Route10EndBattleText6:
- TX_FAR _Route10EndBattleText6
- db "@"
+ text_far _Route10EndBattleText6
+ text_end
Route10AfterBattleText6:
- TX_FAR _Route10AfterBattleText6
- db "@"
+ text_far _Route10AfterBattleText6
+ text_end
Route10Text9:
Route10Text7:
- TX_FAR _Route10Text7 ; _Route10Text9
- db "@"
+ text_far _Route10Text7 ; _Route10Text9
+ text_end
Route10Text10:
- TX_FAR _Route10Text10
- db "@"
+ text_far _Route10Text10
+ text_end
diff --git a/scripts/Route11.asm b/scripts/Route11.asm
index 891237cc..9fe26966 100755
--- a/scripts/Route11.asm
+++ b/scripts/Route11.asm
@@ -118,185 +118,185 @@ Route11TrainerHeader9:
db $ff
Route11Text1:
- TX_ASM
+ text_asm
ld hl, Route11TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route11BattleText1:
- TX_FAR _Route11BattleText1
- db "@"
+ text_far _Route11BattleText1
+ text_end
Route11EndBattleText1:
- TX_FAR _Route11EndBattleText1
- db "@"
+ text_far _Route11EndBattleText1
+ text_end
Route11AfterBattleText1:
- TX_FAR _Route11AfterBattleText1
- db "@"
+ text_far _Route11AfterBattleText1
+ text_end
Route11Text2:
- TX_ASM
+ text_asm
ld hl, Route11TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route11BattleText2:
- TX_FAR _Route11BattleText2
- db "@"
+ text_far _Route11BattleText2
+ text_end
Route11EndBattleText2:
- TX_FAR _Route11EndBattleText2
- db "@"
+ text_far _Route11EndBattleText2
+ text_end
Route11AfterBattleText2:
- TX_FAR _Route11AfterBattleText2
- db "@"
+ text_far _Route11AfterBattleText2
+ text_end
Route11Text3:
- TX_ASM
+ text_asm
ld hl, Route11TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route11BattleText3:
- TX_FAR _Route11BattleText3
- db "@"
+ text_far _Route11BattleText3
+ text_end
Route11EndBattleText3:
- TX_FAR _Route11EndBattleText3
- db "@"
+ text_far _Route11EndBattleText3
+ text_end
Route11AfterBattleText3:
- TX_FAR _Route11AfterBattleText3
- db "@"
+ text_far _Route11AfterBattleText3
+ text_end
Route11Text4:
- TX_ASM
+ text_asm
ld hl, Route11TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route11BattleText4:
- TX_FAR _Route11BattleText4
- db "@"
+ text_far _Route11BattleText4
+ text_end
Route11EndBattleText4:
- TX_FAR _Route11EndBattleText4
- db "@"
+ text_far _Route11EndBattleText4
+ text_end
Route11AfterBattleText4:
- TX_FAR _Route11AfterBattleText4
- db "@"
+ text_far _Route11AfterBattleText4
+ text_end
Route11Text5:
- TX_ASM
+ text_asm
ld hl, Route11TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route11BattleText5:
- TX_FAR _Route11BattleText5
- db "@"
+ text_far _Route11BattleText5
+ text_end
Route11EndBattleText5:
- TX_FAR _Route11EndBattleText5
- db "@"
+ text_far _Route11EndBattleText5
+ text_end
Route11AfterBattleText5:
- TX_FAR _Route11AfterBattleText5
- db "@"
+ text_far _Route11AfterBattleText5
+ text_end
Route11Text6:
- TX_ASM
+ text_asm
ld hl, Route11TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route11BattleText6:
- TX_FAR _Route11BattleText6
- db "@"
+ text_far _Route11BattleText6
+ text_end
Route11EndBattleText6:
- TX_FAR _Route11EndBattleText6
- db "@"
+ text_far _Route11EndBattleText6
+ text_end
Route11AfterBattleText6:
- TX_FAR _Route11AfterBattleText6
- db "@"
+ text_far _Route11AfterBattleText6
+ text_end
Route11Text7:
- TX_ASM
+ text_asm
ld hl, Route11TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route11BattleText7:
- TX_FAR _Route11BattleText7
- db "@"
+ text_far _Route11BattleText7
+ text_end
Route11EndBattleText7:
- TX_FAR _Route11EndBattleText7
- db "@"
+ text_far _Route11EndBattleText7
+ text_end
Route11AfterBattleText7:
- TX_FAR _Route11AfterBattleText7
- db "@"
+ text_far _Route11AfterBattleText7
+ text_end
Route11Text8:
- TX_ASM
+ text_asm
ld hl, Route11TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
Route11BattleText8:
- TX_FAR _Route11BattleText8
- db "@"
+ text_far _Route11BattleText8
+ text_end
Route11EndBattleText8:
- TX_FAR _Route11EndBattleText8
- db "@"
+ text_far _Route11EndBattleText8
+ text_end
Route11AfterBattleText8:
- TX_FAR _Route11AfterBattleText8
- db "@"
+ text_far _Route11AfterBattleText8
+ text_end
Route11Text9:
- TX_ASM
+ text_asm
ld hl, Route11TrainerHeader8
call TalkToTrainer
jp TextScriptEnd
Route11BattleText9:
- TX_FAR _Route11BattleText9
- db "@"
+ text_far _Route11BattleText9
+ text_end
Route11EndBattleText9:
- TX_FAR _Route11EndBattleText9
- db "@"
+ text_far _Route11EndBattleText9
+ text_end
Route11AfterBattleText9:
- TX_FAR _Route11AfterBattleText9
- db "@"
+ text_far _Route11AfterBattleText9
+ text_end
Route11Text10:
- TX_ASM
+ text_asm
ld hl, Route11TrainerHeader9
call TalkToTrainer
jp TextScriptEnd
Route11BattleText10:
- TX_FAR _Route11BattleText10
- db "@"
+ text_far _Route11BattleText10
+ text_end
Route11EndBattleText10:
- TX_FAR _Route11EndBattleText10
- db "@"
+ text_far _Route11EndBattleText10
+ text_end
Route11AfterBattleText10:
- TX_FAR _Route11AfterBattleText10
- db "@"
+ text_far _Route11AfterBattleText10
+ text_end
Route11Text11:
- TX_FAR _Route11Text11
- db "@"
+ text_far _Route11Text11
+ text_end
diff --git a/scripts/Route11Gate1F.asm b/scripts/Route11Gate1F.asm
index 8e5f6c03..d1ebe6ea 100755
--- a/scripts/Route11Gate1F.asm
+++ b/scripts/Route11Gate1F.asm
@@ -5,5 +5,5 @@ Route11Gate1F_TextPointers:
dw Route11GateText1
Route11GateText1:
- TX_FAR _Route11GateText1
- db "@"
+ text_far _Route11GateText1
+ text_end
diff --git a/scripts/Route11Gate2F.asm b/scripts/Route11Gate2F.asm
index c140937d..f888d72f 100755
--- a/scripts/Route11Gate2F.asm
+++ b/scripts/Route11Gate2F.asm
@@ -8,7 +8,7 @@ Route11Gate2F_TextPointers:
dw Route11GateUpstairsText4
Route11GateUpstairsText1:
- TX_ASM
+ text_asm
xor a
ld [wWhichTrade], a
predef DoInGameTradeDialogue
@@ -16,7 +16,7 @@ Route11GateUpstairsScriptEnd:
jp TextScriptEnd
Route11GateUpstairsText2:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_ITEMFINDER, 1
jr c, .asm_4949b
ld a, 30 ; pokemon needed
@@ -42,11 +42,11 @@ Route11GateUpstairsText2:
jr Route11GateUpstairsScriptEnd
Route11GateUpstairsText_494a3:
- TX_FAR _Route11GateUpstairsText_494a3
- db "@"
+ text_far _Route11GateUpstairsText_494a3
+ text_end
Route11GateUpstairsText3:
- TX_ASM
+ text_asm
ld a, [wSpriteStateData1 + 9]
cp SPRITE_FACING_UP
jp nz, GateUpstairsScript_PrintIfFacingUp
@@ -59,18 +59,18 @@ Route11GateUpstairsText3:
jp TextScriptEnd
BinocularsSnorlaxText:
- TX_FAR _BinocularsSnorlaxText
- db "@"
+ text_far _BinocularsSnorlaxText
+ text_end
BinocularsNoSnorlaxText:
- TX_FAR _BinocularsNoSnorlaxText
- db "@"
+ text_far _BinocularsNoSnorlaxText
+ text_end
Route11GateUpstairsText4:
- TX_ASM
+ text_asm
ld hl, Route11GateUpstairsText_494d5
jp GateUpstairsScript_PrintIfFacingUp
Route11GateUpstairsText_494d5:
- TX_FAR _Route11GateUpstairsText_494d5
- db "@"
+ text_far _Route11GateUpstairsText_494d5
+ text_end
diff --git a/scripts/Route12.asm b/scripts/Route12.asm
index 510e7727..1033e495 100755
--- a/scripts/Route12.asm
+++ b/scripts/Route12.asm
@@ -142,147 +142,147 @@ Route12TrainerHeader6:
db $ff
Route12Text1:
- TX_FAR _Route12Text1
- db "@"
+ text_far _Route12Text1
+ text_end
Route12Text13:
- TX_FAR _Route12Text13
- db "@"
+ text_far _Route12Text13
+ text_end
Route12Text14:
- TX_FAR _Route12Text14
- db "@"
+ text_far _Route12Text14
+ text_end
Route12Text2:
- TX_ASM
+ text_asm
ld hl, Route12TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route12BattleText1:
- TX_FAR _Route12BattleText1
- db "@"
+ text_far _Route12BattleText1
+ text_end
Route12EndBattleText1:
- TX_FAR _Route12EndBattleText1
- db "@"
+ text_far _Route12EndBattleText1
+ text_end
Route12AfterBattleText1:
- TX_FAR _Route12AfterBattleText1
- db "@"
+ text_far _Route12AfterBattleText1
+ text_end
Route12Text3:
- TX_ASM
+ text_asm
ld hl, Route12TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route12BattleText2:
- TX_FAR _Route12BattleText2
- db "@"
+ text_far _Route12BattleText2
+ text_end
Route12EndBattleText2:
- TX_FAR _Route12EndBattleText2
- db "@"
+ text_far _Route12EndBattleText2
+ text_end
Route12AfterBattleText2:
- TX_FAR _Route12AfterBattleText2
- db "@"
+ text_far _Route12AfterBattleText2
+ text_end
Route12Text4:
- TX_ASM
+ text_asm
ld hl, Route12TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route12BattleText3:
- TX_FAR _Route12BattleText3
- db "@"
+ text_far _Route12BattleText3
+ text_end
Route12EndBattleText3:
- TX_FAR _Route12EndBattleText3
- db "@"
+ text_far _Route12EndBattleText3
+ text_end
Route12AfterBattleText3:
- TX_FAR _Route12AfterBattleText3
- db "@"
+ text_far _Route12AfterBattleText3
+ text_end
Route12Text5:
- TX_ASM
+ text_asm
ld hl, Route12TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route12BattleText4:
- TX_FAR _Route12BattleText4
- db "@"
+ text_far _Route12BattleText4
+ text_end
Route12EndBattleText4:
- TX_FAR _Route12EndBattleText4
- db "@"
+ text_far _Route12EndBattleText4
+ text_end
Route12AfterBattleText4:
- TX_FAR _Route12AfterBattleText4
- db "@"
+ text_far _Route12AfterBattleText4
+ text_end
Route12Text6:
- TX_ASM
+ text_asm
ld hl, Route12TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route12BattleText5:
- TX_FAR _Route12BattleText5
- db "@"
+ text_far _Route12BattleText5
+ text_end
Route12EndBattleText5:
- TX_FAR _Route12EndBattleText5
- db "@"
+ text_far _Route12EndBattleText5
+ text_end
Route12AfterBattleText5:
- TX_FAR _Route12AfterBattleText5
- db "@"
+ text_far _Route12AfterBattleText5
+ text_end
Route12Text7:
- TX_ASM
+ text_asm
ld hl, Route12TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route12BattleText6:
- TX_FAR _Route12BattleText6
- db "@"
+ text_far _Route12BattleText6
+ text_end
Route12EndBattleText6:
- TX_FAR _Route12EndBattleText6
- db "@"
+ text_far _Route12EndBattleText6
+ text_end
Route12AfterBattleText6:
- TX_FAR _Route12AfterBattleText6
- db "@"
+ text_far _Route12AfterBattleText6
+ text_end
Route12Text8:
- TX_ASM
+ text_asm
ld hl, Route12TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route12BattleText7:
- TX_FAR _Route12BattleText7
- db "@"
+ text_far _Route12BattleText7
+ text_end
Route12EndBattleText7:
- TX_FAR _Route12EndBattleText7
- db "@"
+ text_far _Route12EndBattleText7
+ text_end
Route12AfterBattleText7:
- TX_FAR _Route12AfterBattleText7
- db "@"
+ text_far _Route12AfterBattleText7
+ text_end
Route12Text11:
- TX_FAR _Route12Text11
- db "@"
+ text_far _Route12Text11
+ text_end
Route12Text12:
- TX_FAR _Route12Text12
- db "@"
+ text_far _Route12Text12
+ text_end
diff --git a/scripts/Route12Gate1F.asm b/scripts/Route12Gate1F.asm
index 52d427ee..72f2dfbf 100755
--- a/scripts/Route12Gate1F.asm
+++ b/scripts/Route12Gate1F.asm
@@ -5,5 +5,5 @@ Route12Gate1F_TextPointers:
dw Route12GateText1
Route12GateText1:
- TX_FAR _Route12GateText1
- db "@"
+ text_far _Route12GateText1
+ text_end
diff --git a/scripts/Route12Gate2F.asm b/scripts/Route12Gate2F.asm
index 0cc2768b..6409a24b 100755
--- a/scripts/Route12Gate2F.asm
+++ b/scripts/Route12Gate2F.asm
@@ -7,7 +7,7 @@ Route12Gate2F_TextPointers:
dw Route12GateUpstairsText3
Route12GateUpstairsText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_TM39, 1
jr c, .asm_0ad3c
ld hl, TM39PreReceiveText
@@ -30,39 +30,39 @@ Route12GateUpstairsText1:
jp TextScriptEnd
TM39PreReceiveText:
- TX_FAR _TM39PreReceiveText
- db "@"
+ text_far _TM39PreReceiveText
+ text_end
ReceivedTM39Text:
- TX_FAR _ReceivedTM39Text
- TX_SFX_ITEM_1
- db "@"
+ text_far _ReceivedTM39Text
+ sound_get_item_1
+ text_end
TM39ExplanationText:
- TX_FAR _TM39ExplanationText
- db "@"
+ text_far _TM39ExplanationText
+ text_end
TM39NoRoomText:
- TX_FAR _TM39NoRoomText
- db "@"
+ text_far _TM39NoRoomText
+ text_end
Route12GateUpstairsText2:
- TX_ASM
+ text_asm
ld hl, Route12GateUpstairsText_495b8
jp GateUpstairsScript_PrintIfFacingUp
Route12GateUpstairsText_495b8:
- TX_FAR _Route12GateUpstairsText_495b8
- db "@"
+ text_far _Route12GateUpstairsText_495b8
+ text_end
Route12GateUpstairsText3:
- TX_ASM
+ text_asm
ld hl, Route12GateUpstairsText_495c4
jp GateUpstairsScript_PrintIfFacingUp
Route12GateUpstairsText_495c4:
- TX_FAR _Route12GateUpstairsText_495c4
- db "@"
+ text_far _Route12GateUpstairsText_495c4
+ text_end
GateUpstairsScript_PrintIfFacingUp:
ld a, [wSpriteStateData1 + 9]
diff --git a/scripts/Route12SuperRodHouse.asm b/scripts/Route12SuperRodHouse.asm
index de8ed8f0..6cc1602c 100755
--- a/scripts/Route12SuperRodHouse.asm
+++ b/scripts/Route12SuperRodHouse.asm
@@ -5,7 +5,7 @@ Route12SuperRodHouse_TextPointers:
dw Route12HouseText1
Route12HouseText1:
- TX_ASM
+ text_asm
ld a, [wd728]
bit 5, a
jr nz, .asm_b4cad
@@ -35,23 +35,23 @@ Route12HouseText1:
jp TextScriptEnd
Route12HouseText_564c0:
- TX_FAR _Route12HouseText_564c0
- db "@"
+ text_far _Route12HouseText_564c0
+ text_end
Route12HouseText_564c5:
- TX_FAR _Route12HouseText_564c5
- TX_SFX_ITEM_1
- TX_FAR _Route12HouseText_564ca
- db "@"
+ text_far _Route12HouseText_564c5
+ sound_get_item_1
+ text_far _Route12HouseText_564ca
+ text_end
Route12HouseText_564cf:
- TX_FAR _Route12HouseText_564cf
- db "@"
+ text_far _Route12HouseText_564cf
+ text_end
Route12HouseText_564d4:
- TX_FAR _Route12HouseText_564d4
- db "@"
+ text_far _Route12HouseText_564d4
+ text_end
Route12HouseText_564d9:
- TX_FAR _Route12HouseText_564d9
- db "@"
+ text_far _Route12HouseText_564d9
+ text_end
diff --git a/scripts/Route13.asm b/scripts/Route13.asm
index 8f92147e..9d3b3540 100755
--- a/scripts/Route13.asm
+++ b/scripts/Route13.asm
@@ -120,193 +120,193 @@ Route13TrainerHeader9:
db $ff
Route13Text1:
- TX_ASM
+ text_asm
ld hl, Route13TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route13BattleText2:
- TX_FAR _Route13BattleText2
- db "@"
+ text_far _Route13BattleText2
+ text_end
Route13EndBattleText2:
- TX_FAR _Route13EndBattleText2
- db "@"
+ text_far _Route13EndBattleText2
+ text_end
Route13AfterBattleText2:
- TX_FAR _Route13AfterBattleText2
- db "@"
+ text_far _Route13AfterBattleText2
+ text_end
Route13Text2:
- TX_ASM
+ text_asm
ld hl, Route13TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route13BattleText3:
- TX_FAR _Route13BattleText3
- db "@"
+ text_far _Route13BattleText3
+ text_end
Route13EndBattleText3:
- TX_FAR _Route13EndBattleText3
- db "@"
+ text_far _Route13EndBattleText3
+ text_end
Route13AfterBattleText3:
- TX_FAR _Route13AfterBattleText3
- db "@"
+ text_far _Route13AfterBattleText3
+ text_end
Route13Text3:
- TX_ASM
+ text_asm
ld hl, Route13TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route13BattleText4:
- TX_FAR _Route13BattleText4
- db "@"
+ text_far _Route13BattleText4
+ text_end
Route13EndBattleText4:
- TX_FAR _Route13EndBattleText4
- db "@"
+ text_far _Route13EndBattleText4
+ text_end
Route13AfterBattleText4:
- TX_FAR _Route13AfterBattleText4
- db "@"
+ text_far _Route13AfterBattleText4
+ text_end
Route13Text4:
- TX_ASM
+ text_asm
ld hl, Route13TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route13BattleText5:
- TX_FAR _Route13BattleText5
- db "@"
+ text_far _Route13BattleText5
+ text_end
Route13EndBattleText5:
- TX_FAR _Route13EndBattleText5
- db "@"
+ text_far _Route13EndBattleText5
+ text_end
Route13AfterBattleText5:
- TX_FAR _Route13AfterBattleText5
- db "@"
+ text_far _Route13AfterBattleText5
+ text_end
Route13Text5:
- TX_ASM
+ text_asm
ld hl, Route13TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route13BattleText6:
- TX_FAR _Route13BattleText6
- db "@"
+ text_far _Route13BattleText6
+ text_end
Route13EndBattleText6:
- TX_FAR _Route13EndBattleText6
- db "@"
+ text_far _Route13EndBattleText6
+ text_end
Route13AfterBattleText6:
- TX_FAR _Route13AfterBattleText6
- db "@"
+ text_far _Route13AfterBattleText6
+ text_end
Route13Text6:
- TX_ASM
+ text_asm
ld hl, Route13TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route13BattleText7:
- TX_FAR _Route13BattleText7
- db "@"
+ text_far _Route13BattleText7
+ text_end
Route13EndBattleText7:
- TX_FAR _Route13EndBattleText7
- db "@"
+ text_far _Route13EndBattleText7
+ text_end
Route13AfterBattleText7:
- TX_FAR _Route13AfterBattleText7
- db "@"
+ text_far _Route13AfterBattleText7
+ text_end
Route13Text7:
- TX_ASM
+ text_asm
ld hl, Route13TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route13BattleText8:
- TX_FAR _Route13BattleText8
- db "@"
+ text_far _Route13BattleText8
+ text_end
Route13EndBattleText8:
- TX_FAR _Route13EndBattleText8
- db "@"
+ text_far _Route13EndBattleText8
+ text_end
Route13AfterBattleText8:
- TX_FAR _Route13AfterBattleText8
- db "@"
+ text_far _Route13AfterBattleText8
+ text_end
Route13Text8:
- TX_ASM
+ text_asm
ld hl, Route13TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
Route13BattleText9:
- TX_FAR _Route13BattleText9
- db "@"
+ text_far _Route13BattleText9
+ text_end
Route13EndBattleText9:
- TX_FAR _Route13EndBattleText9
- db "@"
+ text_far _Route13EndBattleText9
+ text_end
Route13AfterBattleText9:
- TX_FAR _Route13AfterBattleText9
- db "@"
+ text_far _Route13AfterBattleText9
+ text_end
Route13Text9:
- TX_ASM
+ text_asm
ld hl, Route13TrainerHeader8
call TalkToTrainer
jp TextScriptEnd
Route13BattleText10:
- TX_FAR _Route13BattleText10
- db "@"
+ text_far _Route13BattleText10
+ text_end
Route13EndBattleText10:
- TX_FAR _Route13EndBattleText10
- db "@"
+ text_far _Route13EndBattleText10
+ text_end
Route13AfterBattleText10:
- TX_FAR _Route13AfterBattleText10
- db "@"
+ text_far _Route13AfterBattleText10
+ text_end
Route13Text10:
- TX_ASM
+ text_asm
ld hl, Route13TrainerHeader9
call TalkToTrainer
jp TextScriptEnd
Route13BattleText11:
- TX_FAR _Route13BattleText11
- db "@"
+ text_far _Route13BattleText11
+ text_end
Route13EndBattleText11:
- TX_FAR _Route13EndBattleText11
- db "@"
+ text_far _Route13EndBattleText11
+ text_end
Route13AfterBattleText11:
- TX_FAR _Route13AfterBattleText11
- db "@"
+ text_far _Route13AfterBattleText11
+ text_end
Route13Text11:
- TX_FAR _Route13Text11
- db "@"
+ text_far _Route13Text11
+ text_end
Route13Text12:
- TX_FAR _Route13Text12
- db "@"
+ text_far _Route13Text12
+ text_end
Route13Text13:
- TX_FAR _Route13Text13
- db "@"
+ text_far _Route13Text13
+ text_end
diff --git a/scripts/Route14.asm b/scripts/Route14.asm
index fdc84d74..20a02e75 100755
--- a/scripts/Route14.asm
+++ b/scripts/Route14.asm
@@ -118,185 +118,185 @@ Route14TrainerHeader9:
db $ff
Route14Text1:
- TX_ASM
+ text_asm
ld hl, Route14TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route14BattleText1:
- TX_FAR _Route14BattleText1
- db "@"
+ text_far _Route14BattleText1
+ text_end
Route14EndBattleText1:
- TX_FAR _Route14EndBattleText1
- db "@"
+ text_far _Route14EndBattleText1
+ text_end
Route14AfterBattleText1:
- TX_FAR _Route14AfterBattleText1
- db "@"
+ text_far _Route14AfterBattleText1
+ text_end
Route14Text2:
- TX_ASM
+ text_asm
ld hl, Route14TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route14BattleText2:
- TX_FAR _Route14BattleText2
- db "@"
+ text_far _Route14BattleText2
+ text_end
Route14EndBattleText2:
- TX_FAR _Route14EndBattleText2
- db "@"
+ text_far _Route14EndBattleText2
+ text_end
Route14AfterBattleText2:
- TX_FAR _Route14AfterBattleText2
- db "@"
+ text_far _Route14AfterBattleText2
+ text_end
Route14Text3:
- TX_ASM
+ text_asm
ld hl, Route14TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route14BattleText3:
- TX_FAR _Route14BattleText3
- db "@"
+ text_far _Route14BattleText3
+ text_end
Route14EndBattleText3:
- TX_FAR _Route14EndBattleText3
- db "@"
+ text_far _Route14EndBattleText3
+ text_end
Route14AfterBattleText3:
- TX_FAR _Route14AfterBattleText3
- db "@"
+ text_far _Route14AfterBattleText3
+ text_end
Route14Text4:
- TX_ASM
+ text_asm
ld hl, Route14TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route14BattleText4:
- TX_FAR _Route14BattleText4
- db "@"
+ text_far _Route14BattleText4
+ text_end
Route14EndBattleText4:
- TX_FAR _Route14EndBattleText4
- db "@"
+ text_far _Route14EndBattleText4
+ text_end
Route14AfterBattleText4:
- TX_FAR _Route14AfterBattleText4
- db "@"
+ text_far _Route14AfterBattleText4
+ text_end
Route14Text5:
- TX_ASM
+ text_asm
ld hl, Route14TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route14BattleText5:
- TX_FAR _Route14BattleText5
- db "@"
+ text_far _Route14BattleText5
+ text_end
Route14EndBattleText5:
- TX_FAR _Route14EndBattleText5
- db "@"
+ text_far _Route14EndBattleText5
+ text_end
Route14AfterBattleText5:
- TX_FAR _Route14AfterBattleText5
- db "@"
+ text_far _Route14AfterBattleText5
+ text_end
Route14Text6:
- TX_ASM
+ text_asm
ld hl, Route14TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route14BattleText6:
- TX_FAR _Route14BattleText6
- db "@"
+ text_far _Route14BattleText6
+ text_end
Route14EndBattleText6:
- TX_FAR _Route14EndBattleText6
- db "@"
+ text_far _Route14EndBattleText6
+ text_end
Route14AfterBattleText6:
- TX_FAR _Route14AfterBattleText6
- db "@"
+ text_far _Route14AfterBattleText6
+ text_end
Route14Text7:
- TX_ASM
+ text_asm
ld hl, Route14TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route14BattleText7:
- TX_FAR _Route14BattleText7
- db "@"
+ text_far _Route14BattleText7
+ text_end
Route14EndBattleText7:
- TX_FAR _Route14EndBattleText7
- db "@"
+ text_far _Route14EndBattleText7
+ text_end
Route14AfterBattleText7:
- TX_FAR _Route14AfterBattleText7
- db "@"
+ text_far _Route14AfterBattleText7
+ text_end
Route14Text8:
- TX_ASM
+ text_asm
ld hl, Route14TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
Route14BattleText8:
- TX_FAR _Route14BattleText8
- db "@"
+ text_far _Route14BattleText8
+ text_end
Route14EndBattleText8:
- TX_FAR _Route14EndBattleText8
- db "@"
+ text_far _Route14EndBattleText8
+ text_end
Route14AfterBattleText8:
- TX_FAR _Route14AfterBattleText8
- db "@"
+ text_far _Route14AfterBattleText8
+ text_end
Route14Text9:
- TX_ASM
+ text_asm
ld hl, Route14TrainerHeader8
call TalkToTrainer
jp TextScriptEnd
Route14BattleText9:
- TX_FAR _Route14BattleText9
- db "@"
+ text_far _Route14BattleText9
+ text_end
Route14EndBattleText9:
- TX_FAR _Route14EndBattleText9
- db "@"
+ text_far _Route14EndBattleText9
+ text_end
Route14AfterBattleText9:
- TX_FAR _Route14AfterBattleText9
- db "@"
+ text_far _Route14AfterBattleText9
+ text_end
Route14Text10:
- TX_ASM
+ text_asm
ld hl, Route14TrainerHeader9
call TalkToTrainer
jp TextScriptEnd
Route14BattleText10:
- TX_FAR _Route14BattleText10
- db "@"
+ text_far _Route14BattleText10
+ text_end
Route14EndBattleText10:
- TX_FAR _Route14EndBattleText10
- db "@"
+ text_far _Route14EndBattleText10
+ text_end
Route14AfterBattleText10:
- TX_FAR _Route14AfterBattleText10
- db "@"
+ text_far _Route14AfterBattleText10
+ text_end
Route14Text11:
- TX_FAR _Route14Text11
- db "@"
+ text_far _Route14Text11
+ text_end
diff --git a/scripts/Route15.asm b/scripts/Route15.asm
index d973eb9c..e0a4c62d 100755
--- a/scripts/Route15.asm
+++ b/scripts/Route15.asm
@@ -119,177 +119,177 @@ Route15TrainerHeader9:
db $ff
Route15Text1:
- TX_ASM
+ text_asm
ld hl, Route15TrainerHeader0
jr Route15TalkToTrainer
Route15Text2:
- TX_ASM
+ text_asm
ld hl, Route15TrainerHeader1
jr Route15TalkToTrainer
Route15Text3:
- TX_ASM
+ text_asm
ld hl, Route15TrainerHeader2
jr Route15TalkToTrainer
Route15Text4:
- TX_ASM
+ text_asm
ld hl, Route15TrainerHeader3
jr Route15TalkToTrainer
Route15Text5:
- TX_ASM
+ text_asm
ld hl, Route15TrainerHeader4
jr Route15TalkToTrainer
Route15Text6:
- TX_ASM
+ text_asm
ld hl, Route15TrainerHeader5
jr Route15TalkToTrainer
Route15Text7:
- TX_ASM
+ text_asm
ld hl, Route15TrainerHeader6
jr Route15TalkToTrainer
Route15Text8:
- TX_ASM
+ text_asm
ld hl, Route15TrainerHeader7
jr Route15TalkToTrainer
Route15Text9:
- TX_ASM
+ text_asm
ld hl, Route15TrainerHeader8
jr Route15TalkToTrainer
Route15Text10:
- TX_ASM
+ text_asm
ld hl, Route15TrainerHeader9
Route15TalkToTrainer:
call TalkToTrainer
jp TextScriptEnd
Route15BattleText1:
- TX_FAR _Route15BattleText1
- db "@"
+ text_far _Route15BattleText1
+ text_end
Route15EndBattleText1:
- TX_FAR _Route15EndBattleText1
- db "@"
+ text_far _Route15EndBattleText1
+ text_end
Route15AfterBattleText1:
- TX_FAR _Route15AfterBattleText1
- db "@"
+ text_far _Route15AfterBattleText1
+ text_end
Route15BattleText2:
- TX_FAR _Route15BattleText2
- db "@"
+ text_far _Route15BattleText2
+ text_end
Route15EndBattleText2:
- TX_FAR _Route15EndBattleText2
- db "@"
+ text_far _Route15EndBattleText2
+ text_end
Route15AfterBattleText2:
- TX_FAR _Route15AfterBattleText2
- db "@"
+ text_far _Route15AfterBattleText2
+ text_end
Route15BattleText3:
- TX_FAR _Route15BattleText3
- db "@"
+ text_far _Route15BattleText3
+ text_end
Route15EndBattleText3:
- TX_FAR _Route15EndBattleText3
- db "@"
+ text_far _Route15EndBattleText3
+ text_end
Route15AfterBattleText3:
- TX_FAR _Route15AfterBattleText3
- db "@"
+ text_far _Route15AfterBattleText3
+ text_end
Route15BattleText4:
- TX_FAR _Route15BattleText4
- db "@"
+ text_far _Route15BattleText4
+ text_end
Route15EndBattleText4:
- TX_FAR _Route15EndBattleText4
- db "@"
+ text_far _Route15EndBattleText4
+ text_end
Route15AfterBattleText4:
- TX_FAR _Route15AfterBattleText4
- db "@"
+ text_far _Route15AfterBattleText4
+ text_end
Route15BattleText5:
- TX_FAR _Route15BattleText5
- db "@"
+ text_far _Route15BattleText5
+ text_end
Route15EndBattleText5:
- TX_FAR _Route15EndBattleText5
- db "@"
+ text_far _Route15EndBattleText5
+ text_end
Route15AfterBattleText5:
- TX_FAR _Route15AfterBattleText5
- db "@"
+ text_far _Route15AfterBattleText5
+ text_end
Route15BattleText6:
- TX_FAR _Route15BattleText6
- db "@"
+ text_far _Route15BattleText6
+ text_end
Route15EndBattleText6:
- TX_FAR _Route15EndBattleText6
- db "@"
+ text_far _Route15EndBattleText6
+ text_end
Route15AfterBattleText6:
- TX_FAR _Route15AfterBattleText6
- db "@"
+ text_far _Route15AfterBattleText6
+ text_end
Route15BattleText7:
- TX_FAR _Route15BattleText7
- db "@"
+ text_far _Route15BattleText7
+ text_end
Route15EndBattleText7:
- TX_FAR _Route15EndBattleText7
- db "@"
+ text_far _Route15EndBattleText7
+ text_end
Route15AfterBattleText7:
- TX_FAR _Route15AfterBattleText7
- db "@"
+ text_far _Route15AfterBattleText7
+ text_end
Route15BattleText8:
- TX_FAR _Route15BattleText8
- db "@"
+ text_far _Route15BattleText8
+ text_end
Route15EndBattleText8:
- TX_FAR _Route15EndBattleText8
- db "@"
+ text_far _Route15EndBattleText8
+ text_end
Route15AfterBattleText8:
- TX_FAR _Route15AfterBattleText8
- db "@"
+ text_far _Route15AfterBattleText8
+ text_end
Route15BattleText9:
- TX_FAR _Route15BattleText9
- db "@"
+ text_far _Route15BattleText9
+ text_end
Route15EndBattleText9:
- TX_FAR _Route15EndBattleText9
- db "@"
+ text_far _Route15EndBattleText9
+ text_end
Route15AfterBattleText9:
- TX_FAR _Route15AfterBattleText9
- db "@"
+ text_far _Route15AfterBattleText9
+ text_end
Route15BattleText10:
- TX_FAR _Route15BattleText10
- db "@"
+ text_far _Route15BattleText10
+ text_end
Route15EndBattleText10:
- TX_FAR _Route15EndBattleText10
- db "@"
+ text_far _Route15EndBattleText10
+ text_end
Route15AfterBattleText10:
- TX_FAR _Route15AfterBattleText10
- db "@"
+ text_far _Route15AfterBattleText10
+ text_end
Route15Text12:
- TX_FAR _Route15Text12
- db "@"
+ text_far _Route15Text12
+ text_end
diff --git a/scripts/Route15Gate1F.asm b/scripts/Route15Gate1F.asm
index 910eb2a5..dfbce9d4 100755
--- a/scripts/Route15Gate1F.asm
+++ b/scripts/Route15Gate1F.asm
@@ -5,5 +5,5 @@ Route15Gate1F_TextPointers:
dw Route15GateText1
Route15GateText1:
- TX_FAR _Route15GateText1
- db "@"
+ text_far _Route15GateText1
+ text_end
diff --git a/scripts/Route15Gate2F.asm b/scripts/Route15Gate2F.asm
index 83763762..a0535949 100755
--- a/scripts/Route15Gate2F.asm
+++ b/scripts/Route15Gate2F.asm
@@ -6,7 +6,7 @@ Route15Gate2F_TextPointers:
dw Route15GateUpstairsText2
Route15GateUpstairsText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_EXP_ALL
jr nz, .asm_49683
ld a, 50 ; pokemon needed
@@ -31,14 +31,14 @@ Route15GateUpstairsText1:
jp TextScriptEnd
Route15GateUpstairsText_4968c:
- TX_FAR _Route15GateUpstairsText_4968c
- db "@"
+ text_far _Route15GateUpstairsText_4968c
+ text_end
Route15GateUpstairsText2:
- TX_ASM
+ text_asm
ld hl, Route15GateUpstairsText_49698
jp GateUpstairsScript_PrintIfFacingUp
Route15GateUpstairsText_49698:
- TX_FAR _Route15GateUpstairsText_49698
- db "@"
+ text_far _Route15GateUpstairsText_49698
+ text_end
diff --git a/scripts/Route16.asm b/scripts/Route16.asm
index 54f83380..f813b4e5 100755
--- a/scripts/Route16.asm
+++ b/scripts/Route16.asm
@@ -131,129 +131,129 @@ Route16TrainerHeader5:
db $ff
Route16Text1:
- TX_ASM
+ text_asm
ld hl, Route16TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route16BattleText1:
- TX_FAR _Route16BattleText1
- db "@"
+ text_far _Route16BattleText1
+ text_end
Route16EndBattleText1:
- TX_FAR _Route16EndBattleText1
- db "@"
+ text_far _Route16EndBattleText1
+ text_end
Route16AfterBattleText1:
- TX_FAR _Route16AfterBattleText1
- db "@"
+ text_far _Route16AfterBattleText1
+ text_end
Route16Text2:
- TX_ASM
+ text_asm
ld hl, Route16TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route16BattleText2:
- TX_FAR _Route16BattleText2
- db "@"
+ text_far _Route16BattleText2
+ text_end
Route16EndBattleText2:
- TX_FAR _Route16EndBattleText2
- db "@"
+ text_far _Route16EndBattleText2
+ text_end
Route16AfterBattleText2:
- TX_FAR _Route16AfterBattleText2
- db "@"
+ text_far _Route16AfterBattleText2
+ text_end
Route16Text3:
- TX_ASM
+ text_asm
ld hl, Route16TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route16BattleText3:
- TX_FAR _Route16BattleText3
- db "@"
+ text_far _Route16BattleText3
+ text_end
Route16EndBattleText3:
- TX_FAR _Route16EndBattleText3
- db "@"
+ text_far _Route16EndBattleText3
+ text_end
Route16AfterBattleText3:
- TX_FAR _Route16AfterBattleText3
- db "@"
+ text_far _Route16AfterBattleText3
+ text_end
Route16Text4:
- TX_ASM
+ text_asm
ld hl, Route16TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route16BattleText4:
- TX_FAR _Route16BattleText4
- db "@"
+ text_far _Route16BattleText4
+ text_end
Route16EndBattleText4:
- TX_FAR _Route16EndBattleText4
- db "@"
+ text_far _Route16EndBattleText4
+ text_end
Route16AfterBattleText4:
- TX_FAR _Route16AfterBattleText4
- db "@"
+ text_far _Route16AfterBattleText4
+ text_end
Route16Text5:
- TX_ASM
+ text_asm
ld hl, Route16TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route16BattleText5:
- TX_FAR _Route16BattleText5
- db "@"
+ text_far _Route16BattleText5
+ text_end
Route16EndBattleText5:
- TX_FAR _Route16EndBattleText5
- db "@"
+ text_far _Route16EndBattleText5
+ text_end
Route16AfterBattleText5:
- TX_FAR _Route16AfterBattleText5
- db "@"
+ text_far _Route16AfterBattleText5
+ text_end
Route16Text6:
- TX_ASM
+ text_asm
ld hl, Route16TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route16BattleText6:
- TX_FAR _Route16BattleText6
- db "@"
+ text_far _Route16BattleText6
+ text_end
Route16EndBattleText6:
- TX_FAR _Route16EndBattleText6
- db "@"
+ text_far _Route16EndBattleText6
+ text_end
Route16AfterBattleText6:
- TX_FAR _Route16AfterBattleText6
- db "@"
+ text_far _Route16AfterBattleText6
+ text_end
Route16Text7:
- TX_FAR _Route16Text7
- db "@"
+ text_far _Route16Text7
+ text_end
Route16Text10:
- TX_FAR _Route16Text10
- db "@"
+ text_far _Route16Text10
+ text_end
Route16Text11:
- TX_FAR _Route16Text11
- db "@"
+ text_far _Route16Text11
+ text_end
Route16Text8:
- TX_FAR _Route16Text8
- db "@"
+ text_far _Route16Text8
+ text_end
Route16Text9:
- TX_FAR _Route16Text9
- db "@"
+ text_far _Route16Text9
+ text_end
diff --git a/scripts/Route16FlyHouse.asm b/scripts/Route16FlyHouse.asm
index 1d74ac80..38f7bbef 100755
--- a/scripts/Route16FlyHouse.asm
+++ b/scripts/Route16FlyHouse.asm
@@ -6,7 +6,7 @@ Route16FlyHouse_TextPointers:
dw Route16HouseText2
Route16HouseText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_HM02
ld hl, HM02ExplanationText
jr nz, .asm_13616
@@ -25,24 +25,24 @@ Route16HouseText1:
jp TextScriptEnd
Route16HouseText3:
- TX_FAR _Route16HouseText3
- db "@"
+ text_far _Route16HouseText3
+ text_end
ReceivedHM02Text:
- TX_FAR _ReceivedHM02Text
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _ReceivedHM02Text
+ sound_get_key_item
+ text_end
HM02ExplanationText:
- TX_FAR _HM02ExplanationText
- db "@"
+ text_far _HM02ExplanationText
+ text_end
HM02NoRoomText:
- TX_FAR _HM02NoRoomText
- db "@"
+ text_far _HM02NoRoomText
+ text_end
Route16HouseText2:
- TX_ASM
+ text_asm
ld hl, Route16HouseText_1e652
call PrintText
ld a, FEAROW
@@ -51,5 +51,5 @@ Route16HouseText2:
jp TextScriptEnd
Route16HouseText_1e652:
- TX_FAR _Route16HouseText_1e652
- db "@"
+ text_far _Route16HouseText_1e652
+ text_end
diff --git a/scripts/Route16Gate1F.asm b/scripts/Route16Gate1F.asm
index f814d209..af84bab0 100755
--- a/scripts/Route16Gate1F.asm
+++ b/scripts/Route16Gate1F.asm
@@ -92,7 +92,7 @@ Route16Gate1F_TextPointers:
dw Route16GateText3
Route16GateText1:
- TX_ASM
+ text_asm
call Route16GateScript_49755
jr z, .asm_0bdf3
ld hl, Route16GateText_4977c
@@ -105,17 +105,17 @@ Route16GateText1:
jp TextScriptEnd
Route16GateText_49777:
- TX_FAR _Route16GateText_49777
- db "@"
+ text_far _Route16GateText_49777
+ text_end
Route16GateText_4977c:
- TX_FAR _Route16GateText_4977c
- db "@"
+ text_far _Route16GateText_4977c
+ text_end
Route16GateText3:
- TX_FAR _Route16GateText_49781
- db "@"
+ text_far _Route16GateText_49781
+ text_end
Route16GateText2:
- TX_FAR _Route16GateText2
- db "@"
+ text_far _Route16GateText2
+ text_end
diff --git a/scripts/Route16Gate2F.asm b/scripts/Route16Gate2F.asm
index 643a5ec7..27e147a1 100755
--- a/scripts/Route16Gate2F.asm
+++ b/scripts/Route16Gate2F.asm
@@ -8,39 +8,39 @@ Route16Gate2F_TextPointers:
dw Route16GateUpstairsText4
Route16GateUpstairsText1:
- TX_ASM
+ text_asm
ld hl, Route16GateUpstairsText_49820
call PrintText
jp TextScriptEnd
Route16GateUpstairsText_49820:
- TX_FAR _Route16GateUpstairsText_49820
- db "@"
+ text_far _Route16GateUpstairsText_49820
+ text_end
Route16GateUpstairsText2:
- TX_ASM
+ text_asm
ld hl, Route16GateUpstairsText_4982f
call PrintText
jp TextScriptEnd
Route16GateUpstairsText_4982f:
- TX_FAR _Route16GateUpstairsText_4982f
- db "@"
+ text_far _Route16GateUpstairsText_4982f
+ text_end
Route16GateUpstairsText3:
- TX_ASM
+ text_asm
ld hl, Route16GateUpstairsText_4983b
jp GateUpstairsScript_PrintIfFacingUp
Route16GateUpstairsText_4983b:
- TX_FAR _Route16GateUpstairsText_4983b
- db "@"
+ text_far _Route16GateUpstairsText_4983b
+ text_end
Route16GateUpstairsText4:
- TX_ASM
+ text_asm
ld hl, Route16GateUpstairsText_49847
jp GateUpstairsScript_PrintIfFacingUp
Route16GateUpstairsText_49847:
- TX_FAR _Route16GateUpstairsText_49847
- db "@"
+ text_far _Route16GateUpstairsText_49847
+ text_end
diff --git a/scripts/Route17.asm b/scripts/Route17.asm
index dd92ac44..4c580e06 100755
--- a/scripts/Route17.asm
+++ b/scripts/Route17.asm
@@ -123,205 +123,205 @@ Route17TrainerHeader9:
db $ff
Route17Text1:
- TX_ASM
+ text_asm
ld hl, Route17TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route17BattleText1:
- TX_FAR _Route17BattleText1
- db "@"
+ text_far _Route17BattleText1
+ text_end
Route17EndBattleText1:
- TX_FAR _Route17EndBattleText1
- db "@"
+ text_far _Route17EndBattleText1
+ text_end
Route17AfterBattleText1:
- TX_FAR _Route17AfterBattleText1
- db "@"
+ text_far _Route17AfterBattleText1
+ text_end
Route17Text2:
- TX_ASM
+ text_asm
ld hl, Route17TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route17BattleText2:
- TX_FAR _Route17BattleText2
- db "@"
+ text_far _Route17BattleText2
+ text_end
Route17EndBattleText2:
- TX_FAR _Route17EndBattleText2
- db "@"
+ text_far _Route17EndBattleText2
+ text_end
Route17AfterBattleText2:
- TX_FAR _Route17AfterBattleText2
- db "@"
+ text_far _Route17AfterBattleText2
+ text_end
Route17Text3:
- TX_ASM
+ text_asm
ld hl, Route17TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route17BattleText3:
- TX_FAR _Route17BattleText3
- db "@"
+ text_far _Route17BattleText3
+ text_end
Route17EndBattleText3:
- TX_FAR _Route17EndBattleText3
- db "@"
+ text_far _Route17EndBattleText3
+ text_end
Route17AfterBattleText3:
- TX_FAR _Route17AfterBattleText3
- db "@"
+ text_far _Route17AfterBattleText3
+ text_end
Route17Text4:
- TX_ASM
+ text_asm
ld hl, Route17TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route17BattleText4:
- TX_FAR _Route17BattleText4
- db "@"
+ text_far _Route17BattleText4
+ text_end
Route17EndBattleText4:
- TX_FAR _Route17EndBattleText4
- db "@"
+ text_far _Route17EndBattleText4
+ text_end
Route17AfterBattleText4:
- TX_FAR _Route17AfterBattleText4
- db "@"
+ text_far _Route17AfterBattleText4
+ text_end
Route17Text5:
- TX_ASM
+ text_asm
ld hl, Route17TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route17BattleText5:
- TX_FAR _Route17BattleText5
- db "@"
+ text_far _Route17BattleText5
+ text_end
Route17EndBattleText5:
- TX_FAR _Route17EndBattleText5
- db "@"
+ text_far _Route17EndBattleText5
+ text_end
Route17AfterBattleText5:
- TX_FAR _Route17AfterBattleText5
- db "@"
+ text_far _Route17AfterBattleText5
+ text_end
Route17Text6:
- TX_ASM
+ text_asm
ld hl, Route17TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route17BattleText6:
- TX_FAR _Route17BattleText6
- db "@"
+ text_far _Route17BattleText6
+ text_end
Route17EndBattleText6:
- TX_FAR _Route17EndBattleText6
- db "@"
+ text_far _Route17EndBattleText6
+ text_end
Route17AfterBattleText6:
- TX_FAR _Route17AfterBattleText6
- db "@"
+ text_far _Route17AfterBattleText6
+ text_end
Route17Text7:
- TX_ASM
+ text_asm
ld hl, Route17TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route17BattleText7:
- TX_FAR _Route17BattleText7
- db "@"
+ text_far _Route17BattleText7
+ text_end
Route17EndBattleText7:
- TX_FAR _Route17EndBattleText7
- db "@"
+ text_far _Route17EndBattleText7
+ text_end
Route17AfterBattleText7:
- TX_FAR _Route17AfterBattleText7
- db "@"
+ text_far _Route17AfterBattleText7
+ text_end
Route17Text8:
- TX_ASM
+ text_asm
ld hl, Route17TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
Route17BattleText8:
- TX_FAR _Route17BattleText8
- db "@"
+ text_far _Route17BattleText8
+ text_end
Route17EndBattleText8:
- TX_FAR _Route17EndBattleText8
- db "@"
+ text_far _Route17EndBattleText8
+ text_end
Route17AfterBattleText8:
- TX_FAR _Route17AfterBattleText8
- db "@"
+ text_far _Route17AfterBattleText8
+ text_end
Route17Text9:
- TX_ASM
+ text_asm
ld hl, Route17TrainerHeader8
call TalkToTrainer
jp TextScriptEnd
Route17BattleText9:
- TX_FAR _Route17BattleText9
- db "@"
+ text_far _Route17BattleText9
+ text_end
Route17EndBattleText9:
- TX_FAR _Route17EndBattleText9
- db "@"
+ text_far _Route17EndBattleText9
+ text_end
Route17AfterBattleText9:
- TX_FAR _Route17AfterBattleText9
- db "@"
+ text_far _Route17AfterBattleText9
+ text_end
Route17Text10:
- TX_ASM
+ text_asm
ld hl, Route17TrainerHeader9
call TalkToTrainer
jp TextScriptEnd
Route17BattleText10:
- TX_FAR _Route17BattleText10
- db "@"
+ text_far _Route17BattleText10
+ text_end
Route17EndBattleText10:
- TX_FAR _Route17EndBattleText10
- db "@"
+ text_far _Route17EndBattleText10
+ text_end
Route17AfterBattleText10:
- TX_FAR _Route17AfterBattleText10
- db "@"
+ text_far _Route17AfterBattleText10
+ text_end
Route17Text11:
- TX_FAR _Route17Text11
- db "@"
+ text_far _Route17Text11
+ text_end
Route17Text12:
- TX_FAR _Route17Text12
- db "@"
+ text_far _Route17Text12
+ text_end
Route17Text13:
- TX_FAR _Route17Text13
- db "@"
+ text_far _Route17Text13
+ text_end
Route17Text14:
- TX_FAR _Route17Text14
- db "@"
+ text_far _Route17Text14
+ text_end
Route17Text15:
- TX_FAR _Route17Text15
- db "@"
+ text_far _Route17Text15
+ text_end
Route17Text16:
- TX_FAR _Route17Text16
- db "@"
+ text_far _Route17Text16
+ text_end
diff --git a/scripts/Route18.asm b/scripts/Route18.asm
index 022d41be..85d3efd3 100755
--- a/scripts/Route18.asm
+++ b/scripts/Route18.asm
@@ -49,63 +49,63 @@ Route18TrainerHeader2:
db $ff
Route18Text1:
- TX_ASM
+ text_asm
ld hl, Route18TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route18BattleText1:
- TX_FAR _Route18BattleText1
- db "@"
+ text_far _Route18BattleText1
+ text_end
Route18EndBattleText1:
- TX_FAR _Route18EndBattleText1
- db "@"
+ text_far _Route18EndBattleText1
+ text_end
Route18AfterBattleText1:
- TX_FAR _Route18AfterBattleText1
- db "@"
+ text_far _Route18AfterBattleText1
+ text_end
Route18Text2:
- TX_ASM
+ text_asm
ld hl, Route18TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route18BattleText2:
- TX_FAR _Route18BattleText2
- db "@"
+ text_far _Route18BattleText2
+ text_end
Route18EndBattleText2:
- TX_FAR _Route18EndBattleText2
- db "@"
+ text_far _Route18EndBattleText2
+ text_end
Route18AfterBattleText2:
- TX_FAR _Route18AfterBattleText2
- db "@"
+ text_far _Route18AfterBattleText2
+ text_end
Route18Text3:
- TX_ASM
+ text_asm
ld hl, Route18TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route18BattleText3:
- TX_FAR _Route18BattleText3
- db "@"
+ text_far _Route18BattleText3
+ text_end
Route18EndBattleText3:
- TX_FAR _Route18EndBattleText3
- db "@"
+ text_far _Route18EndBattleText3
+ text_end
Route18AfterBattleText3:
- TX_FAR _Route18AfterBattleText3
- db "@"
+ text_far _Route18AfterBattleText3
+ text_end
Route18Text4:
- TX_FAR _Route18Text4
- db "@"
+ text_far _Route18Text4
+ text_end
Route18Text5:
- TX_FAR _Route18Text5
- db "@"
+ text_far _Route18Text5
+ text_end
diff --git a/scripts/Route18Gate1F.asm b/scripts/Route18Gate1F.asm
index 812cb3e0..ad876e15 100755
--- a/scripts/Route18Gate1F.asm
+++ b/scripts/Route18Gate1F.asm
@@ -87,7 +87,7 @@ Route18Gate1F_TextPointers:
dw Route18GateText2
Route18GateText1:
- TX_ASM
+ text_asm
call Route16GateScript_49755
jr z, .asm_3c84d
ld hl, Route18GateText_4992d
@@ -100,13 +100,13 @@ Route18GateText1:
jp TextScriptEnd
Route18GateText_49928:
- TX_FAR _Route18GateText_49928
- db "@"
+ text_far _Route18GateText_49928
+ text_end
Route18GateText_4992d:
- TX_FAR _Route18GateText_4992d
- db "@"
+ text_far _Route18GateText_4992d
+ text_end
Route18GateText2:
- TX_FAR _Route18GateText_49932
- db "@"
+ text_far _Route18GateText_49932
+ text_end
diff --git a/scripts/Route18Gate2F.asm b/scripts/Route18Gate2F.asm
index 6987a099..d7511859 100755
--- a/scripts/Route18Gate2F.asm
+++ b/scripts/Route18Gate2F.asm
@@ -7,26 +7,26 @@ Route18Gate2F_TextPointers:
dw Route18GateUpstairsText3
Route18GateUpstairsText1:
- TX_ASM
+ text_asm
ld a, $5
ld [wWhichTrade], a
predef DoInGameTradeDialogue
jp TextScriptEnd
Route18GateUpstairsText2:
- TX_ASM
+ text_asm
ld hl, Route18GateUpstairsText_49993
jp GateUpstairsScript_PrintIfFacingUp
Route18GateUpstairsText_49993:
- TX_FAR _Route18GateUpstairsText_49993
- db "@"
+ text_far _Route18GateUpstairsText_49993
+ text_end
Route18GateUpstairsText3:
- TX_ASM
+ text_asm
ld hl, Route18GateUpstairsText_4999f
jp GateUpstairsScript_PrintIfFacingUp
Route18GateUpstairsText_4999f:
- TX_FAR _Route18GateUpstairsText_4999f
- db "@"
+ text_far _Route18GateUpstairsText_4999f
+ text_end
diff --git a/scripts/Route19.asm b/scripts/Route19.asm
index 6f603e05..c26e3a12 100755
--- a/scripts/Route19.asm
+++ b/scripts/Route19.asm
@@ -118,185 +118,185 @@ Route19TrainerHeader9:
db $ff
Route19Text1:
- TX_ASM
+ text_asm
ld hl, Route19TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route19Text2:
- TX_ASM
+ text_asm
ld hl, Route19TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route19Text3:
- TX_ASM
+ text_asm
ld hl, Route19TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route19Text4:
- TX_ASM
+ text_asm
ld hl, Route19TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route19Text5:
- TX_ASM
+ text_asm
ld hl, Route19TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route19Text6:
- TX_ASM
+ text_asm
ld hl, Route19TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route19Text7:
- TX_ASM
+ text_asm
ld hl, Route19TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route19Text8:
- TX_ASM
+ text_asm
ld hl, Route19TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
Route19Text9:
- TX_ASM
+ text_asm
ld hl, Route19TrainerHeader8
call TalkToTrainer
jp TextScriptEnd
Route19Text10:
- TX_ASM
+ text_asm
ld hl, Route19TrainerHeader9
call TalkToTrainer
jp TextScriptEnd
Route19BattleText1:
- TX_FAR _Route19BattleText1
- db "@"
+ text_far _Route19BattleText1
+ text_end
Route19EndBattleText1:
- TX_FAR _Route19EndBattleText1
- db "@"
+ text_far _Route19EndBattleText1
+ text_end
Route19AfterBattleText1:
- TX_FAR _Route19AfterBattleText1
- db "@"
+ text_far _Route19AfterBattleText1
+ text_end
Route19BattleText2:
- TX_FAR _Route19BattleText2
- db "@"
+ text_far _Route19BattleText2
+ text_end
Route19EndBattleText2:
- TX_FAR _Route19EndBattleText2
- db "@"
+ text_far _Route19EndBattleText2
+ text_end
Route19AfterBattleText2:
- TX_FAR _Route19AfterBattleText2
- db "@"
+ text_far _Route19AfterBattleText2
+ text_end
Route19BattleText3:
- TX_FAR _Route19BattleText3
- db "@"
+ text_far _Route19BattleText3
+ text_end
Route19EndBattleText3:
- TX_FAR _Route19EndBattleText3
- db "@"
+ text_far _Route19EndBattleText3
+ text_end
Route19AfterBattleText3:
- TX_FAR _Route19AfterBattleText3
- db "@"
+ text_far _Route19AfterBattleText3
+ text_end
Route19BattleText4:
- TX_FAR _Route19BattleText4
- db "@"
+ text_far _Route19BattleText4
+ text_end
Route19EndBattleText4:
- TX_FAR _Route19EndBattleText4
- db "@"
+ text_far _Route19EndBattleText4
+ text_end
Route19AfterBattleText4:
- TX_FAR _Route19AfterBattleText4
- db "@"
+ text_far _Route19AfterBattleText4
+ text_end
Route19BattleText5:
- TX_FAR _Route19BattleText5
- db "@"
+ text_far _Route19BattleText5
+ text_end
Route19EndBattleText5:
- TX_FAR _Route19EndBattleText5
- db "@"
+ text_far _Route19EndBattleText5
+ text_end
Route19AfterBattleText5:
- TX_FAR _Route19AfterBattleText5
- db "@"
+ text_far _Route19AfterBattleText5
+ text_end
Route19BattleText6:
- TX_FAR _Route19BattleText6
- db "@"
+ text_far _Route19BattleText6
+ text_end
Route19EndBattleText6:
- TX_FAR _Route19EndBattleText6
- db "@"
+ text_far _Route19EndBattleText6
+ text_end
Route19AfterBattleText6:
- TX_FAR _Route19AfterBattleText6
- db "@"
+ text_far _Route19AfterBattleText6
+ text_end
Route19BattleText7:
- TX_FAR _Route19BattleText7
- db "@"
+ text_far _Route19BattleText7
+ text_end
Route19EndBattleText7:
- TX_FAR _Route19EndBattleText7
- db "@"
+ text_far _Route19EndBattleText7
+ text_end
Route19AfterBattleText7:
- TX_FAR _Route19AfterBattleText7
- db "@"
+ text_far _Route19AfterBattleText7
+ text_end
Route19BattleText8:
- TX_FAR _Route19BattleText8
- db "@"
+ text_far _Route19BattleText8
+ text_end
Route19EndBattleText8:
- TX_FAR _Route19EndBattleText8
- db "@"
+ text_far _Route19EndBattleText8
+ text_end
Route19AfterBattleText8:
- TX_FAR _Route19AfterBattleText8
- db "@"
+ text_far _Route19AfterBattleText8
+ text_end
Route19BattleText9:
- TX_FAR _Route19BattleText9
- db "@"
+ text_far _Route19BattleText9
+ text_end
Route19EndBattleText9:
- TX_FAR _Route19EndBattleText9
- db "@"
+ text_far _Route19EndBattleText9
+ text_end
Route19AfterBattleText9:
- TX_FAR _Route19AfterBattleText9
- db "@"
+ text_far _Route19AfterBattleText9
+ text_end
Route19BattleText10:
- TX_FAR _Route19BattleText10
- db "@"
+ text_far _Route19BattleText10
+ text_end
Route19EndBattleText10:
- TX_FAR _Route19EndBattleText10
- db "@"
+ text_far _Route19EndBattleText10
+ text_end
Route19AfterBattleText10:
- TX_FAR _Route19AfterBattleText10
- db "@"
+ text_far _Route19AfterBattleText10
+ text_end
Route19Text11:
- TX_FAR _Route19Text11
- db "@"
+ text_far _Route19Text11
+ text_end
diff --git a/scripts/Route2.asm b/scripts/Route2.asm
index f4b1c8c4..c6886ce4 100755
--- a/scripts/Route2.asm
+++ b/scripts/Route2.asm
@@ -8,9 +8,9 @@ Route2_TextPointers:
dw Route2Text4
Route2Text3:
- TX_FAR _Route2Text3
- db "@"
+ text_far _Route2Text3
+ text_end
Route2Text4:
- TX_FAR _Route2Text4
- db "@"
+ text_far _Route2Text4
+ text_end
diff --git a/scripts/Route20.asm b/scripts/Route20.asm
index 081a723e..393bc7da 100755
--- a/scripts/Route20.asm
+++ b/scripts/Route20.asm
@@ -168,186 +168,186 @@ Route20TrainerHeader9:
db $ff
Route20Text1:
- TX_ASM
+ text_asm
ld hl, Route20TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route20Text2:
- TX_ASM
+ text_asm
ld hl, Route20TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route20Text3:
- TX_ASM
+ text_asm
ld hl, Route20TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route20Text4:
- TX_ASM
+ text_asm
ld hl, Route20TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route20Text5:
- TX_ASM
+ text_asm
ld hl, Route20TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route20Text6:
- TX_ASM
+ text_asm
ld hl, Route20TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route20Text7:
- TX_ASM
+ text_asm
ld hl, Route20TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route20Text8:
- TX_ASM
+ text_asm
ld hl, Route20TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
Route20Text9:
- TX_ASM
+ text_asm
ld hl, Route20TrainerHeader8
call TalkToTrainer
jp TextScriptEnd
Route20Text10:
- TX_ASM
+ text_asm
ld hl, Route20TrainerHeader9
call TalkToTrainer
jp TextScriptEnd
Route20BattleText1:
- TX_FAR _Route20BattleText1
- db "@"
+ text_far _Route20BattleText1
+ text_end
Route20EndBattleText1:
- TX_FAR _Route20EndBattleText1
- db "@"
+ text_far _Route20EndBattleText1
+ text_end
Route20AfterBattleText1:
- TX_FAR _Route20AfterBattleText1
- db "@"
+ text_far _Route20AfterBattleText1
+ text_end
Route20BattleText2:
- TX_FAR _Route20BattleText2
- db "@"
+ text_far _Route20BattleText2
+ text_end
Route20EndBattleText2:
- TX_FAR _Route20EndBattleText2
- db "@"
+ text_far _Route20EndBattleText2
+ text_end
Route20AfterBattleText2:
- TX_FAR _Route20AfterBattleText2
- db "@"
+ text_far _Route20AfterBattleText2
+ text_end
Route20BattleText3:
- TX_FAR _Route20BattleText3
- db "@"
+ text_far _Route20BattleText3
+ text_end
Route20EndBattleText3:
- TX_FAR _Route20EndBattleText3
- db "@"
+ text_far _Route20EndBattleText3
+ text_end
Route20AfterBattleText3:
- TX_FAR _Route20AfterBattleText3
- db "@"
+ text_far _Route20AfterBattleText3
+ text_end
Route20BattleText4:
- TX_FAR _Route20BattleText4
- db "@"
+ text_far _Route20BattleText4
+ text_end
Route20EndBattleText4:
- TX_FAR _Route20EndBattleText4
- db "@"
+ text_far _Route20EndBattleText4
+ text_end
Route20AfterBattleText4:
- TX_FAR _Route20AfterBattleText4
- db "@"
+ text_far _Route20AfterBattleText4
+ text_end
Route20BattleText5:
- TX_FAR _Route20BattleText5
- db "@"
+ text_far _Route20BattleText5
+ text_end
Route20EndBattleText5:
- TX_FAR _Route20EndBattleText5
- db "@"
+ text_far _Route20EndBattleText5
+ text_end
Route20AfterBattleText5:
- TX_FAR _Route20AfterBattleText5
- db "@"
+ text_far _Route20AfterBattleText5
+ text_end
Route20BattleText6:
- TX_FAR _Route20BattleText6
- db "@"
+ text_far _Route20BattleText6
+ text_end
Route20EndBattleText6:
- TX_FAR _Route20EndBattleText6
- db "@"
+ text_far _Route20EndBattleText6
+ text_end
Route20AfterBattleText6:
- TX_FAR _Route20AfterBattleText6
- db "@"
+ text_far _Route20AfterBattleText6
+ text_end
Route20BattleText7:
- TX_FAR _Route20BattleText7
- db "@"
+ text_far _Route20BattleText7
+ text_end
Route20EndBattleText7:
- TX_FAR _Route20EndBattleText7
- db "@"
+ text_far _Route20EndBattleText7
+ text_end
Route20AfterBattleText7:
- TX_FAR _Route20AfterBattleText7
- db "@"
+ text_far _Route20AfterBattleText7
+ text_end
Route20BattleText8:
- TX_FAR _Route20BattleText8
- db "@"
+ text_far _Route20BattleText8
+ text_end
Route20EndBattleText8:
- TX_FAR _Route20EndBattleText8
- db "@"
+ text_far _Route20EndBattleText8
+ text_end
Route20AfterBattleText8:
- TX_FAR _Route20AfterBattleText8
- db "@"
+ text_far _Route20AfterBattleText8
+ text_end
Route20BattleText9:
- TX_FAR _Route20BattleText9
- db "@"
+ text_far _Route20BattleText9
+ text_end
Route20EndBattleText9:
- TX_FAR _Route20EndBattleText9
- db "@"
+ text_far _Route20EndBattleText9
+ text_end
Route20AfterBattleText9:
- TX_FAR _Route20AfterBattleText9
- db "@"
+ text_far _Route20AfterBattleText9
+ text_end
Route20BattleText10:
- TX_FAR _Route20BattleText10
- db "@"
+ text_far _Route20BattleText10
+ text_end
Route20EndBattleText10:
- TX_FAR _Route20EndBattleText10
- db "@"
+ text_far _Route20EndBattleText10
+ text_end
Route20AfterBattleText10:
- TX_FAR _Route20AfterBattleText10
- db "@"
+ text_far _Route20AfterBattleText10
+ text_end
Route20Text12:
Route20Text11:
- TX_FAR _Route20Text11
- db "@"
+ text_far _Route20Text11
+ text_end
diff --git a/scripts/Route21.asm b/scripts/Route21.asm
index 15dacd5d..1df2f1c8 100755
--- a/scripts/Route21.asm
+++ b/scripts/Route21.asm
@@ -107,163 +107,163 @@ Route21TrainerHeader8:
db $ff
Route21Text1:
- TX_ASM
+ text_asm
ld hl, Route21TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route21Text2:
- TX_ASM
+ text_asm
ld hl, Route21TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route21Text3:
- TX_ASM
+ text_asm
ld hl, Route21TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route21Text4:
- TX_ASM
+ text_asm
ld hl, Route21TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route21Text5:
- TX_ASM
+ text_asm
ld hl, Route21TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route21Text6:
- TX_ASM
+ text_asm
ld hl, Route21TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route21Text7:
- TX_ASM
+ text_asm
ld hl, Route21TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route21Text8:
- TX_ASM
+ text_asm
ld hl, Route21TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
Route21Text9:
- TX_ASM
+ text_asm
ld hl, Route21TrainerHeader8
call TalkToTrainer
jp TextScriptEnd
Route21BattleText1:
- TX_FAR _Route21BattleText1
- db "@"
+ text_far _Route21BattleText1
+ text_end
Route21EndBattleText1:
- TX_FAR _Route21EndBattleText1
- db "@"
+ text_far _Route21EndBattleText1
+ text_end
Route21AfterBattleText1:
- TX_FAR _Route21AfterBattleText1
- db "@"
+ text_far _Route21AfterBattleText1
+ text_end
Route21BattleText2:
- TX_FAR _Route21BattleText2
- db "@"
+ text_far _Route21BattleText2
+ text_end
Route21EndBattleText2:
- TX_FAR _Route21EndBattleText2
- db "@"
+ text_far _Route21EndBattleText2
+ text_end
Route21AfterBattleText2:
- TX_FAR _Route21AfterBattleText2
- db "@"
+ text_far _Route21AfterBattleText2
+ text_end
Route21BattleText3:
- TX_FAR _Route21BattleText3
- db "@"
+ text_far _Route21BattleText3
+ text_end
Route21EndBattleText3:
- TX_FAR _Route21EndBattleText3
- db "@"
+ text_far _Route21EndBattleText3
+ text_end
Route21AfterBattleText3:
- TX_FAR _Route21AfterBattleText3
- db "@"
+ text_far _Route21AfterBattleText3
+ text_end
Route21BattleText4:
- TX_FAR _Route21BattleText4
- db "@"
+ text_far _Route21BattleText4
+ text_end
Route21EndBattleText4:
- TX_FAR _Route21EndBattleText4
- db "@"
+ text_far _Route21EndBattleText4
+ text_end
Route21AfterBattleText4:
- TX_FAR _Route21AfterBattleText4
- db "@"
+ text_far _Route21AfterBattleText4
+ text_end
Route21BattleText5:
- TX_FAR _Route21BattleText5
- db "@"
+ text_far _Route21BattleText5
+ text_end
Route21EndBattleText5:
- TX_FAR _Route21EndBattleText5
- db "@"
+ text_far _Route21EndBattleText5
+ text_end
Route21AfterBattleText5:
- TX_FAR _Route21AfterBattleText5
- db "@"
+ text_far _Route21AfterBattleText5
+ text_end
Route21BattleText6:
- TX_FAR _Route21BattleText6
- db "@"
+ text_far _Route21BattleText6
+ text_end
Route21EndBattleText6:
- TX_FAR _Route21EndBattleText6
- db "@"
+ text_far _Route21EndBattleText6
+ text_end
Route21AfterBattleText6:
- TX_FAR _Route21AfterBattleText6
- db "@"
+ text_far _Route21AfterBattleText6
+ text_end
Route21BattleText7:
- TX_FAR _Route21BattleText7
- db "@"
+ text_far _Route21BattleText7
+ text_end
Route21EndBattleText7:
- TX_FAR _Route21EndBattleText7
- db "@"
+ text_far _Route21EndBattleText7
+ text_end
Route21AfterBattleText7:
- TX_FAR _Route21AfterBattleText7
- db "@"
+ text_far _Route21AfterBattleText7
+ text_end
Route21BattleText8:
- TX_FAR _Route21BattleText8
- db "@"
+ text_far _Route21BattleText8
+ text_end
Route21EndBattleText8:
- TX_FAR _Route21EndBattleText8
- db "@"
+ text_far _Route21EndBattleText8
+ text_end
Route21AfterBattleText8:
- TX_FAR _Route21AfterBattleText8
- db "@"
+ text_far _Route21AfterBattleText8
+ text_end
Route21BattleText9:
- TX_FAR _Route21BattleText9
- db "@"
+ text_far _Route21BattleText9
+ text_end
Route21EndBattleText9:
- TX_FAR _Route21EndBattleText9
- db "@"
+ text_far _Route21EndBattleText9
+ text_end
Route21AfterBattleText9:
- TX_FAR _Route21AfterBattleText9
- db "@"
+ text_far _Route21AfterBattleText9
+ text_end
diff --git a/scripts/Route22.asm b/scripts/Route22.asm
index 8fde2d42..8771ad0e 100755
--- a/scripts/Route22.asm
+++ b/scripts/Route22.asm
@@ -383,7 +383,7 @@ Route22_TextPointers:
dw Route22FrontGateText
Route22Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_ROUTE22_RIVAL_1ST_BATTLE
jr z, .asm_5118b
ld hl, Route22RivalAfterBattleText1
@@ -396,7 +396,7 @@ Route22Text1:
jp TextScriptEnd
Route22Text2:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_ROUTE22_RIVAL_2ND_BATTLE
jr z, .asm_511a4
ld hl, Route22RivalAfterBattleText2
@@ -409,37 +409,37 @@ Route22Text2:
jp TextScriptEnd
Route22RivalBeforeBattleText1:
- TX_FAR _Route22RivalBeforeBattleText1
- db "@"
+ text_far _Route22RivalBeforeBattleText1
+ text_end
Route22RivalAfterBattleText1:
- TX_FAR _Route22RivalAfterBattleText1
- db "@"
+ text_far _Route22RivalAfterBattleText1
+ text_end
Route22RivalDefeatedText1:
- TX_FAR _Route22RivalDefeatedText1
- db "@"
+ text_far _Route22RivalDefeatedText1
+ text_end
Route22Text_511bc:
- TX_FAR _Route22Text_511bc
- db "@"
+ text_far _Route22Text_511bc
+ text_end
Route22RivalBeforeBattleText2:
- TX_FAR _Route22RivalBeforeBattleText2
- db "@"
+ text_far _Route22RivalBeforeBattleText2
+ text_end
Route22RivalAfterBattleText2:
- TX_FAR _Route22RivalAfterBattleText2
- db "@"
+ text_far _Route22RivalAfterBattleText2
+ text_end
Route22RivalDefeatedText2:
- TX_FAR _Route22RivalDefeatedText2
- db "@"
+ text_far _Route22RivalDefeatedText2
+ text_end
Route22Text_511d0:
- TX_FAR _Route22Text_511d0
- db "@"
+ text_far _Route22Text_511d0
+ text_end
Route22FrontGateText:
- TX_FAR _Route22FrontGateText
- db "@"
+ text_far _Route22FrontGateText
+ text_end
diff --git a/scripts/Route22Gate.asm b/scripts/Route22Gate.asm
index 86b1220d..b7fcc8f5 100755
--- a/scripts/Route22Gate.asm
+++ b/scripts/Route22Gate.asm
@@ -57,7 +57,7 @@ Route22Gate_TextPointers:
dw Route22GateText1
Route22GateText1:
- TX_ASM
+ text_asm
ld a, [wObtainedBadges]
bit 0, a
jr nz, .asm_1e6f6
@@ -75,8 +75,8 @@ Route22GateText1:
jp TextScriptEnd
Route22GateText_1e704:
- TX_FAR _Route22GateText_1e704
- TX_ASM
+ text_far _Route22GateText_1e704
+ text_asm
ld a, SFX_DENIED
call PlaySoundWaitForCurrent
call WaitForSoundToFinish
@@ -84,10 +84,10 @@ Route22GateText_1e704:
ret
Route22GateText_1e715:
- TX_FAR _Route22GateText_1e715
- db "@"
+ text_far _Route22GateText_1e715
+ text_end
Route22GateText_1e71a:
- TX_FAR _Route22GateText_1e71a
- TX_SFX_ITEM_1
- db "@"
+ text_far _Route22GateText_1e71a
+ sound_get_item_1
+ text_end
diff --git a/scripts/Route23.asm b/scripts/Route23.asm
index e91e2c98..e8bc5475 100755
--- a/scripts/Route23.asm
+++ b/scripts/Route23.asm
@@ -142,43 +142,43 @@ Route23_TextPointers:
dw Route23Text8
Route23Text1:
- TX_ASM
+ text_asm
EventFlagBit a, EVENT_PASSED_EARTHBADGE_CHECK, EVENT_PASSED_CASCADEBADGE_CHECK
call Route23Script_51346
jp TextScriptEnd
Route23Text2:
- TX_ASM
+ text_asm
EventFlagBit a, EVENT_PASSED_VOLCANOBADGE_CHECK, EVENT_PASSED_CASCADEBADGE_CHECK
call Route23Script_51346
jp TextScriptEnd
Route23Text3:
- TX_ASM
+ text_asm
EventFlagBit a, EVENT_PASSED_MARSHBADGE_CHECK, EVENT_PASSED_CASCADEBADGE_CHECK
call Route23Script_51346
jp TextScriptEnd
Route23Text4:
- TX_ASM
+ text_asm
EventFlagBit a, EVENT_PASSED_SOULBADGE_CHECK, EVENT_PASSED_CASCADEBADGE_CHECK
call Route23Script_51346
jp TextScriptEnd
Route23Text5:
- TX_ASM
+ text_asm
EventFlagBit a, EVENT_PASSED_RAINBOWBADGE_CHECK, EVENT_PASSED_CASCADEBADGE_CHECK
call Route23Script_51346
jp TextScriptEnd
Route23Text6:
- TX_ASM
+ text_asm
EventFlagBit a, EVENT_PASSED_THUNDERBADGE_CHECK, EVENT_PASSED_CASCADEBADGE_CHECK
call Route23Script_51346
jp TextScriptEnd
Route23Text7:
- TX_ASM
+ text_asm
EventFlagBit a, EVENT_PASSED_CASCADEBADGE_CHECK
call Route23Script_51346
jp TextScriptEnd
@@ -218,19 +218,19 @@ Route23Script_51388:
jp PrintText
VictoryRoadGuardText1:
- TX_FAR _VictoryRoadGuardText1
- TX_ASM
+ text_far _VictoryRoadGuardText1
+ text_asm
ld a, SFX_DENIED
call PlaySoundWaitForCurrent
call WaitForSoundToFinish
jp TextScriptEnd
VictoryRoadGuardText2:
- TX_FAR _VictoryRoadGuardText2
- TX_SFX_ITEM_1
- TX_FAR _VictoryRoadGuardText_513a3
- db "@"
+ text_far _VictoryRoadGuardText2
+ sound_get_item_1
+ text_far _VictoryRoadGuardText_513a3
+ text_end
Route23Text8:
- TX_FAR _Route23Text8
- db "@"
+ text_far _Route23Text8
+ text_end
diff --git a/scripts/Route24.asm b/scripts/Route24.asm
index a8e16e7d..f04a43cf 100755
--- a/scripts/Route24.asm
+++ b/scripts/Route24.asm
@@ -142,7 +142,7 @@ Route24TrainerHeader5:
db $ff
Route24Text1:
- TX_ASM
+ text_asm
ResetEvent EVENT_NUGGET_REWARD_AVAILABLE
CheckEvent EVENT_GOT_NUGGET
jr nz, .asm_514f9
@@ -183,137 +183,137 @@ Route24Text1:
jp TextScriptEnd
Route24Text_51510:
- TX_FAR _Route24Text_51510
- TX_SFX_ITEM_1
- TX_FAR _Route24Text_51515
- db "@"
+ text_far _Route24Text_51510
+ sound_get_item_1
+ text_far _Route24Text_51515
+ text_end
Route24Text_5151a:
- TX_FAR _Route24Text_5151a
- TX_SFX_ITEM_1
- TX_BLINK
- db "@"
+ text_far _Route24Text_5151a
+ sound_get_item_1
+ text_promptbutton
+ text_end
Route24Text_51521:
- TX_FAR _Route24Text_51521
- db "@"
+ text_far _Route24Text_51521
+ text_end
Route24Text_51526:
- TX_FAR _Route24Text_51526
- db "@"
+ text_far _Route24Text_51526
+ text_end
Route24Text_5152b:
- TX_FAR _Route24Text_5152b
- db "@"
+ text_far _Route24Text_5152b
+ text_end
Route24Text_51530:
- TX_FAR _Route24Text_51530
- db "@"
+ text_far _Route24Text_51530
+ text_end
Route24Text2:
- TX_ASM
+ text_asm
ld hl, Route24TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route24Text3:
- TX_ASM
+ text_asm
ld hl, Route24TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route24Text4:
- TX_ASM
+ text_asm
ld hl, Route24TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route24Text5:
- TX_ASM
+ text_asm
ld hl, Route24TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route24Text6:
- TX_ASM
+ text_asm
ld hl, Route24TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route24Text7:
- TX_ASM
+ text_asm
ld hl, Route24TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route24BattleText1:
- TX_FAR _Route24BattleText1
- db "@"
+ text_far _Route24BattleText1
+ text_end
Route24EndBattleText1:
- TX_FAR _Route24EndBattleText1
- db "@"
+ text_far _Route24EndBattleText1
+ text_end
Route24AfterBattleText1:
- TX_FAR _Route24AfterBattleText1
- db "@"
+ text_far _Route24AfterBattleText1
+ text_end
Route24BattleText2:
- TX_FAR _Route24BattleText2
- db "@"
+ text_far _Route24BattleText2
+ text_end
Route24EndBattleText2:
- TX_FAR _Route24EndBattleText2
- db "@"
+ text_far _Route24EndBattleText2
+ text_end
Route24AfterBattleText2:
- TX_FAR _Route24AfterBattleText2
- db "@"
+ text_far _Route24AfterBattleText2
+ text_end
Route24BattleText3:
- TX_FAR _Route24BattleText3
- db "@"
+ text_far _Route24BattleText3
+ text_end
Route24EndBattleText3:
- TX_FAR _Route24EndBattleText3
- db "@"
+ text_far _Route24EndBattleText3
+ text_end
Route24AfterBattleText3:
- TX_FAR _Route24AfterBattleText3
- db "@"
+ text_far _Route24AfterBattleText3
+ text_end
Route24BattleText4:
- TX_FAR _Route24BattleText4
- db "@"
+ text_far _Route24BattleText4
+ text_end
Route24EndBattleText4:
- TX_FAR _Route24EndBattleText4
- db "@"
+ text_far _Route24EndBattleText4
+ text_end
Route24AfterBattleText4:
- TX_FAR _Route24AfterBattleText4
- db "@"
+ text_far _Route24AfterBattleText4
+ text_end
Route24BattleText5:
- TX_FAR _Route24BattleText5
- db "@"
+ text_far _Route24BattleText5
+ text_end
Route24EndBattleText5:
- TX_FAR _Route24EndBattleText5
- db "@"
+ text_far _Route24EndBattleText5
+ text_end
Route24AfterBattleText5:
- TX_FAR _Route24AfterBattleText5
- db "@"
+ text_far _Route24AfterBattleText5
+ text_end
Route24BattleText6:
- TX_FAR _Route24BattleText6
- db "@"
+ text_far _Route24BattleText6
+ text_end
Route24EndBattleText6:
- TX_FAR _Route24EndBattleText6
- db "@"
+ text_far _Route24EndBattleText6
+ text_end
Route24AfterBattleText6:
- TX_FAR _Route24AfterBattleText6
- db "@"
+ text_far _Route24AfterBattleText6
+ text_end
diff --git a/scripts/Route25.asm b/scripts/Route25.asm
index 7166919d..b4d8ad80 100755
--- a/scripts/Route25.asm
+++ b/scripts/Route25.asm
@@ -137,167 +137,167 @@ Route25TrainerHeader8:
db $ff
Route25Text1:
- TX_ASM
+ text_asm
ld hl, Route25TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route25Text2:
- TX_ASM
+ text_asm
ld hl, Route25TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route25Text3:
- TX_ASM
+ text_asm
ld hl, Route25TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route25Text4:
- TX_ASM
+ text_asm
ld hl, Route25TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route25Text5:
- TX_ASM
+ text_asm
ld hl, Route25TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route25Text6:
- TX_ASM
+ text_asm
ld hl, Route25TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route25Text7:
- TX_ASM
+ text_asm
ld hl, Route25TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route25Text8:
- TX_ASM
+ text_asm
ld hl, Route25TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
Route25Text9:
- TX_ASM
+ text_asm
ld hl, Route25TrainerHeader8
call TalkToTrainer
jp TextScriptEnd
Route25BattleText1:
- TX_FAR _Route25BattleText1
- db "@"
+ text_far _Route25BattleText1
+ text_end
Route25EndBattleText1:
- TX_FAR _Route25EndBattleText1
- db "@"
+ text_far _Route25EndBattleText1
+ text_end
Route25AfterBattleText1:
- TX_FAR _Route25AfterBattleText1
- db "@"
+ text_far _Route25AfterBattleText1
+ text_end
Route25BattleText2:
- TX_FAR _Route25BattleText2
- db "@"
+ text_far _Route25BattleText2
+ text_end
Route25EndBattleText2:
- TX_FAR _Route25EndBattleText2
- db "@"
+ text_far _Route25EndBattleText2
+ text_end
Route25AfterBattleText2:
- TX_FAR _Route25AfterBattleText2
- db "@"
+ text_far _Route25AfterBattleText2
+ text_end
Route25BattleText3:
- TX_FAR _Route25BattleText3
- db "@"
+ text_far _Route25BattleText3
+ text_end
Route25EndBattleText3:
- TX_FAR _Route25EndBattleText3
- db "@"
+ text_far _Route25EndBattleText3
+ text_end
Route25AfterBattleText3:
- TX_FAR _Route25AfterBattleText3
- db "@"
+ text_far _Route25AfterBattleText3
+ text_end
Route25BattleText4:
- TX_FAR _Route25BattleText4
- db "@"
+ text_far _Route25BattleText4
+ text_end
Route25EndBattleText4:
- TX_FAR _Route25EndBattleText4
- db "@"
+ text_far _Route25EndBattleText4
+ text_end
Route25AfterBattleText4:
- TX_FAR _Route25AfterBattleText4
- db "@"
+ text_far _Route25AfterBattleText4
+ text_end
Route25BattleText5:
- TX_FAR _Route25BattleText5
- db "@"
+ text_far _Route25BattleText5
+ text_end
Route25EndBattleText5:
- TX_FAR _Route25EndBattleText5
- db "@"
+ text_far _Route25EndBattleText5
+ text_end
Route25AfterBattleText5:
- TX_FAR _Route25AfterBattleText5
- db "@"
+ text_far _Route25AfterBattleText5
+ text_end
Route25BattleText6:
- TX_FAR _Route25BattleText6
- db "@"
+ text_far _Route25BattleText6
+ text_end
Route25EndBattleText6:
- TX_FAR _Route25EndBattleText6
- db "@"
+ text_far _Route25EndBattleText6
+ text_end
Route25AfterBattleText6:
- TX_FAR _Route25AfterBattleText6
- db "@"
+ text_far _Route25AfterBattleText6
+ text_end
Route25BattleText7:
- TX_FAR _Route25BattleText7
- db "@"
+ text_far _Route25BattleText7
+ text_end
Route25EndBattleText7:
- TX_FAR _Route25EndBattleText7
- db "@"
+ text_far _Route25EndBattleText7
+ text_end
Route25AfterBattleText7:
- TX_FAR _Route25AfterBattleText7
- db "@"
+ text_far _Route25AfterBattleText7
+ text_end
Route25BattleText8:
- TX_FAR _Route25BattleText8
- db "@"
+ text_far _Route25BattleText8
+ text_end
Route25EndBattleText8:
- TX_FAR _Route25EndBattleText8
- db "@"
+ text_far _Route25EndBattleText8
+ text_end
Route25AfterBattleText8:
- TX_FAR _Route25AfterBattleText8
- db "@"
+ text_far _Route25AfterBattleText8
+ text_end
Route25BattleText9:
- TX_FAR _Route25BattleText9
- db "@"
+ text_far _Route25BattleText9
+ text_end
Route25EndBattleText9:
- TX_FAR _Route25EndBattleText9
- db "@"
+ text_far _Route25EndBattleText9
+ text_end
Route25AfterBattleText9:
- TX_FAR _Route25AfterBattleText9
- db "@"
+ text_far _Route25AfterBattleText9
+ text_end
Route25Text11:
- TX_FAR _Route25Text11
- db "@"
+ text_far _Route25Text11
+ text_end
diff --git a/scripts/Route2Gate.asm b/scripts/Route2Gate.asm
index 70d93814..d1afd534 100755
--- a/scripts/Route2Gate.asm
+++ b/scripts/Route2Gate.asm
@@ -6,7 +6,7 @@ Route2Gate_TextPointers:
dw Route2GateText2
Route2GateText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_HM05
jr nz, .asm_5d60d
ld a, 10 ; pokemon needed
@@ -31,9 +31,9 @@ Route2GateText1:
jp TextScriptEnd
Route2GateText_5d616:
- TX_FAR _Route2GateText_5d616
- db "@"
+ text_far _Route2GateText_5d616
+ text_end
Route2GateText2:
- TX_FAR _Route2GateText2
- db "@"
+ text_far _Route2GateText2
+ text_end
diff --git a/scripts/Route2TradeHouse.asm b/scripts/Route2TradeHouse.asm
index a89e2fe9..fd3c51e3 100755
--- a/scripts/Route2TradeHouse.asm
+++ b/scripts/Route2TradeHouse.asm
@@ -6,11 +6,11 @@ Route2TradeHouse_TextPointers:
dw Route2HouseText2
Route2HouseText1:
- TX_FAR _Route2HouseText1
- db "@"
+ text_far _Route2HouseText1
+ text_end
Route2HouseText2:
- TX_ASM
+ text_asm
ld a, $1
ld [wWhichTrade], a
predef DoInGameTradeDialogue
diff --git a/scripts/Route3.asm b/scripts/Route3.asm
index d55831bf..91fcadc2 100755
--- a/scripts/Route3.asm
+++ b/scripts/Route3.asm
@@ -99,153 +99,153 @@ Route3TrainerHeader7:
db $ff
Route3Text1:
- TX_FAR _Route3Text1
- db "@"
+ text_far _Route3Text1
+ text_end
Route3Text2:
- TX_ASM
+ text_asm
ld hl, Route3TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route3BattleText1:
- TX_FAR _Route3BattleText1
- db "@"
+ text_far _Route3BattleText1
+ text_end
Route3EndBattleText1:
- TX_FAR _Route3EndBattleText1
- db "@"
+ text_far _Route3EndBattleText1
+ text_end
Route3AfterBattleText1:
- TX_FAR _Route3AfterBattleText1
- db "@"
+ text_far _Route3AfterBattleText1
+ text_end
Route3Text3:
- TX_ASM
+ text_asm
ld hl, Route3TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route3BattleText2:
- TX_FAR _Route3BattleText2
- db "@"
+ text_far _Route3BattleText2
+ text_end
Route3EndBattleText2:
- TX_FAR _Route3EndBattleText2
- db "@"
+ text_far _Route3EndBattleText2
+ text_end
Route3AfterBattleText2:
- TX_FAR _Route3AfterBattleText2
- db "@"
+ text_far _Route3AfterBattleText2
+ text_end
Route3Text4:
- TX_ASM
+ text_asm
ld hl, Route3TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route3BattleText3:
- TX_FAR _Route3BattleText3
- db "@"
+ text_far _Route3BattleText3
+ text_end
Route3EndBattleText3:
- TX_FAR _Route3EndBattleText3
- db "@"
+ text_far _Route3EndBattleText3
+ text_end
Route3AfterBattleText3:
- TX_FAR _Route3AfterBattleText3
- db "@"
+ text_far _Route3AfterBattleText3
+ text_end
Route3Text5:
- TX_ASM
+ text_asm
ld hl, Route3TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route3BattleText4:
- TX_FAR _Route3BattleText4
- db "@"
+ text_far _Route3BattleText4
+ text_end
Route3EndBattleText4:
- TX_FAR _Route3EndBattleText4
- db "@"
+ text_far _Route3EndBattleText4
+ text_end
Route3AfterBattleText4:
- TX_FAR _Route3AfterBattleText4
- db "@"
+ text_far _Route3AfterBattleText4
+ text_end
Route3Text6:
- TX_ASM
+ text_asm
ld hl, Route3TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route3BattleText5:
- TX_FAR _Route3BattleText5
- db "@"
+ text_far _Route3BattleText5
+ text_end
Route3EndBattleText5:
- TX_FAR _Route3EndBattleText5
- db "@"
+ text_far _Route3EndBattleText5
+ text_end
Route3AfterBattleText5:
- TX_FAR _Route3AfterBattleText5
- db "@"
+ text_far _Route3AfterBattleText5
+ text_end
Route3Text7:
- TX_ASM
+ text_asm
ld hl, Route3TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route3BattleText6:
- TX_FAR _Route3BattleText6
- db "@"
+ text_far _Route3BattleText6
+ text_end
Route3EndBattleText6:
- TX_FAR _Route3EndBattleText6
- db "@"
+ text_far _Route3EndBattleText6
+ text_end
Route3AfterBattleText6:
- TX_FAR _Route3AfterBattleText6
- db "@"
+ text_far _Route3AfterBattleText6
+ text_end
Route3Text8:
- TX_ASM
+ text_asm
ld hl, Route3TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route3BattleText7:
- TX_FAR _Route3BattleText7
- db "@"
+ text_far _Route3BattleText7
+ text_end
Route3EndBattleText7:
- TX_FAR _Route3EndBattleText7
- db "@"
+ text_far _Route3EndBattleText7
+ text_end
Route3AfterBattleText7:
- TX_FAR _Route3AfterBattleText7
- db "@"
+ text_far _Route3AfterBattleText7
+ text_end
Route3Text9:
- TX_ASM
+ text_asm
ld hl, Route3TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
Route3BattleText8:
- TX_FAR _Route3BattleText8
- db "@"
+ text_far _Route3BattleText8
+ text_end
Route3EndBattleText8:
- TX_FAR _Route3EndBattleText8
- db "@"
+ text_far _Route3EndBattleText8
+ text_end
Route3AfterBattleText8:
- TX_FAR _Route3AfterBattleText8
- db "@"
+ text_far _Route3AfterBattleText8
+ text_end
Route3Text10:
- TX_FAR _Route3Text10
- db "@"
+ text_far _Route3Text10
+ text_end
diff --git a/scripts/Route4.asm b/scripts/Route4.asm
index 9b04a47a..ef1d6302 100755
--- a/scripts/Route4.asm
+++ b/scripts/Route4.asm
@@ -32,31 +32,31 @@ Route4TrainerHeader0:
db $ff
Route4Text1:
- TX_FAR _Route4Text1
- db "@"
+ text_far _Route4Text1
+ text_end
Route4Text2:
- TX_ASM
+ text_asm
ld hl, Route4TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route4BattleText1:
- TX_FAR _Route4BattleText1
- db "@"
+ text_far _Route4BattleText1
+ text_end
Route4EndBattleText1:
- TX_FAR _Route4EndBattleText1
- db "@"
+ text_far _Route4EndBattleText1
+ text_end
Route4AfterBattleText1:
- TX_FAR _Route4AfterBattleText1
- db "@"
+ text_far _Route4AfterBattleText1
+ text_end
Route4Text5:
- TX_FAR _Route4Text5
- db "@"
+ text_far _Route4Text5
+ text_end
Route4Text6:
- TX_FAR _Route4Text6
- db "@"
+ text_far _Route4Text6
+ text_end
diff --git a/scripts/Route5.asm b/scripts/Route5.asm
index 1b2bd242..33f3c345 100755
--- a/scripts/Route5.asm
+++ b/scripts/Route5.asm
@@ -5,5 +5,5 @@ Route5_TextPointers:
dw Route5Text1
Route5Text1:
- TX_FAR _Route5Text1
- db "@"
+ text_far _Route5Text1
+ text_end
diff --git a/scripts/Route5Gate.asm b/scripts/Route5Gate.asm
index e5d86b97..0bd896f1 100755
--- a/scripts/Route5Gate.asm
+++ b/scripts/Route5Gate.asm
@@ -69,7 +69,7 @@ Route8GateText1:
Route7GateText1:
Route6GateText1:
Route5GateText1:
- TX_ASM
+ text_asm
ld a, [wd728]
bit 6, a
jr nz, .asm_88856
@@ -98,20 +98,20 @@ Route8GateText2:
Route7GateText2:
Route6GateText2:
Route5GateText2:
- TX_FAR _SaffronGateText_1dfe7
- db "@"
+ text_far _SaffronGateText_1dfe7
+ text_end
Route8GateText3:
Route7GateText3:
Route6GateText3:
Route5GateText3:
- TX_FAR _SaffronGateText_8aaa9
- TX_SFX_KEY_ITEM
- TX_FAR _SaffronGateText_1dff1
- db "@"
+ text_far _SaffronGateText_8aaa9
+ sound_get_key_item
+ text_far _SaffronGateText_1dff1
+ text_end
SaffronGateText_1dff6:
- TX_FAR _SaffronGateText_1dff6
- db "@"
+ text_far _SaffronGateText_1dff6
+ text_end
diff --git a/scripts/Route6.asm b/scripts/Route6.asm
index 9f43b800..b649ba47 100755
--- a/scripts/Route6.asm
+++ b/scripts/Route6.asm
@@ -78,109 +78,109 @@ Route6TrainerHeader5:
db $ff
Route6Text1:
- TX_ASM
+ text_asm
ld hl, Route6TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route6BattleText1:
- TX_FAR _Route6BattleText1
- db "@"
+ text_far _Route6BattleText1
+ text_end
Route6EndBattleText1:
- TX_FAR _Route6EndBattleText1
- db "@"
+ text_far _Route6EndBattleText1
+ text_end
Route6AfterBattleText1:
- TX_FAR _Route6AfterBattleText1
- db "@"
+ text_far _Route6AfterBattleText1
+ text_end
Route6Text2:
- TX_ASM
+ text_asm
ld hl, Route6TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route6BattleText2:
- TX_FAR _Route6BattleText2
- db "@"
+ text_far _Route6BattleText2
+ text_end
Route6EndBattleText2:
- TX_FAR _Route6EndBattleText2
- db "@"
+ text_far _Route6EndBattleText2
+ text_end
Route6Text3:
- TX_ASM
+ text_asm
ld hl, Route6TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route6BattleText3:
- TX_FAR _Route6BattleText3
- db "@"
+ text_far _Route6BattleText3
+ text_end
Route6EndBattleText3:
- TX_FAR _Route6EndBattleText3
- db "@"
+ text_far _Route6EndBattleText3
+ text_end
Route6AfterBattleText3:
- TX_FAR _Route6AfterBattleText3
- db "@"
+ text_far _Route6AfterBattleText3
+ text_end
Route6Text4:
- TX_ASM
+ text_asm
ld hl, Route6TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route6BattleText4:
- TX_FAR _Route6BattleText4
- db "@"
+ text_far _Route6BattleText4
+ text_end
Route6EndBattleText4:
- TX_FAR _Route6EndBattleText4
- db "@"
+ text_far _Route6EndBattleText4
+ text_end
Route6AfterBattleText4:
- TX_FAR _Route6AfterBattleText4
- db "@"
+ text_far _Route6AfterBattleText4
+ text_end
Route6Text5:
- TX_ASM
+ text_asm
ld hl, Route6TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route6BattleText5:
- TX_FAR _Route6BattleText5
- db "@"
+ text_far _Route6BattleText5
+ text_end
Route6EndBattleText5:
- TX_FAR _Route6EndBattleText5
- db "@"
+ text_far _Route6EndBattleText5
+ text_end
Route6AfterBattleText5:
- TX_FAR _Route6AfterBattleText5
- db "@"
+ text_far _Route6AfterBattleText5
+ text_end
Route6Text6:
- TX_ASM
+ text_asm
ld hl, Route6TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route6BattleText6:
- TX_FAR _Route6BattleText6
- db "@"
+ text_far _Route6BattleText6
+ text_end
Route6EndBattleText6:
- TX_FAR _Route6EndBattleText6
- db "@"
+ text_far _Route6EndBattleText6
+ text_end
Route6AfterBattleText6:
- TX_FAR _Route6AfterBattleText6
- db "@"
+ text_far _Route6AfterBattleText6
+ text_end
Route6Text7:
- TX_FAR _Route6Text7
- db "@"
+ text_far _Route6Text7
+ text_end
diff --git a/scripts/Route7.asm b/scripts/Route7.asm
index 55774553..1fd38abb 100755
--- a/scripts/Route7.asm
+++ b/scripts/Route7.asm
@@ -5,5 +5,5 @@ Route7_TextPointers:
dw Route7Text1
Route7Text1:
- TX_FAR _Route7Text1
- db "@"
+ text_far _Route7Text1
+ text_end
diff --git a/scripts/Route8.asm b/scripts/Route8.asm
index f3388505..c52b6c3c 100755
--- a/scripts/Route8.asm
+++ b/scripts/Route8.asm
@@ -108,167 +108,167 @@ Route8TrainerHeader8:
db $ff
Route8Text1:
- TX_ASM
+ text_asm
ld hl, Route8TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
Route8BattleText1:
- TX_FAR _Route8BattleText1
- db "@"
+ text_far _Route8BattleText1
+ text_end
Route8EndBattleText1:
- TX_FAR _Route8EndBattleText1
- db "@"
+ text_far _Route8EndBattleText1
+ text_end
Route8AfterBattleText1:
- TX_FAR _Route8AfterBattleText1
- db "@"
+ text_far _Route8AfterBattleText1
+ text_end
Route8Text2:
- TX_ASM
+ text_asm
ld hl, Route8TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
Route8BattleText2:
- TX_FAR _Route8BattleText2
- db "@"
+ text_far _Route8BattleText2
+ text_end
Route8EndBattleText2:
- TX_FAR _Route8EndBattleText2
- db "@"
+ text_far _Route8EndBattleText2
+ text_end
Route8AfterBattleText2:
- TX_FAR _Route8AfterBattleText2
- db "@"
+ text_far _Route8AfterBattleText2
+ text_end
Route8Text3:
- TX_ASM
+ text_asm
ld hl, Route8TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
Route8BattleText3:
- TX_FAR _Route8BattleText3
- db "@"
+ text_far _Route8BattleText3
+ text_end
Route8EndBattleText3:
- TX_FAR _Route8EndBattleText3
- db "@"
+ text_far _Route8EndBattleText3
+ text_end
Route8AfterBattleText3:
- TX_FAR _Route8AfterBattleText3
- db "@"
+ text_far _Route8AfterBattleText3
+ text_end
Route8Text4:
- TX_ASM
+ text_asm
ld hl, Route8TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
Route8BattleText4:
- TX_FAR _Route8BattleText4
- db "@"
+ text_far _Route8BattleText4
+ text_end
Route8EndBattleText4:
- TX_FAR _Route8EndBattleText4
- db "@"
+ text_far _Route8EndBattleText4
+ text_end
Route8AfterBattleText4:
- TX_FAR _Route8AfterBattleText4
- db "@"
+ text_far _Route8AfterBattleText4
+ text_end
Route8Text5:
- TX_ASM
+ text_asm
ld hl, Route8TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
Route8BattleText5:
- TX_FAR _Route8BattleText5
- db "@"
+ text_far _Route8BattleText5
+ text_end
Route8EndBattleText5:
- TX_FAR _Route8EndBattleText5
- db "@"
+ text_far _Route8EndBattleText5
+ text_end
Route8AfterBattleText5:
- TX_FAR _Route8AfterBattleText5
- db "@"
+ text_far _Route8AfterBattleText5
+ text_end
Route8Text6:
- TX_ASM
+ text_asm
ld hl, Route8TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
Route8BattleText6:
- TX_FAR _Route8BattleText6
- db "@"
+ text_far _Route8BattleText6
+ text_end
Route8EndBattleText6:
- TX_FAR _Route8EndBattleText6
- db "@"
+ text_far _Route8EndBattleText6
+ text_end
Route8AfterBattleText6:
- TX_FAR _Route8AfterBattleText6
- db "@"
+ text_far _Route8AfterBattleText6
+ text_end
Route8Text7:
- TX_ASM
+ text_asm
ld hl, Route8TrainerHeader6
call TalkToTrainer
jp TextScriptEnd
Route8BattleText7:
- TX_FAR _Route8BattleText7
- db "@"
+ text_far _Route8BattleText7
+ text_end
Route8EndBattleText7:
- TX_FAR _Route8EndBattleText7
- db "@"
+ text_far _Route8EndBattleText7
+ text_end
Route8AfterBattleText7:
- TX_FAR _Route8AfterBattleText7
- db "@"
+ text_far _Route8AfterBattleText7
+ text_end
Route8Text8:
- TX_ASM
+ text_asm
ld hl, Route8TrainerHeader7
call TalkToTrainer
jp TextScriptEnd
Route8BattleText8:
- TX_FAR _Route8BattleText8
- db "@"
+ text_far _Route8BattleText8
+ text_end
Route8EndBattleText8:
- TX_FAR _Route8EndBattleText8
- db "@"
+ text_far _Route8EndBattleText8
+ text_end
Route8AfterBattleText8:
- TX_FAR _Route8AfterBattleText8
- db "@"
+ text_far _Route8AfterBattleText8
+ text_end
Route8Text9:
- TX_ASM
+ text_asm
ld hl, Route8TrainerHeader8
call TalkToTrainer
jp TextScriptEnd
Route8BattleText9:
- TX_FAR _Route8BattleText9
- db "@"
+ text_far _Route8BattleText9
+ text_end
Route8EndBattleText9:
- TX_FAR _Route8EndBattleText9
- db "@"
+ text_far _Route8EndBattleText9
+ text_end
Route8AfterBattleText9:
- TX_FAR _Route8AfterBattleText9
- db "@"
+ text_far _Route8AfterBattleText9
+ text_end
Route8Text10:
- TX_FAR _Route8Text10
- db "@"
+ text_far _Route8Text10
+ text_end
diff --git a/scripts/Route9.asm b/scripts/Route9.asm
index a18096f0..b7911209 100755
--- a/scripts/Route9.asm
+++ b/scripts/Route9.asm
@@ -109,160 +109,160 @@ Route9TrainerHeader8:
db $ff
Route9Text1:
- TX_ASM
+ text_asm
ld hl, Route9TrainerHeader0
jr Route9TalkToTrainer
Route9Text2:
- TX_ASM
+ text_asm
ld hl, Route9TrainerHeader1
jr Route9TalkToTrainer
Route9Text3:
- TX_ASM
+ text_asm
ld hl, Route9TrainerHeader2
jr Route9TalkToTrainer
Route9Text4:
- TX_ASM
+ text_asm
ld hl, Route9TrainerHeader3
jr Route9TalkToTrainer
Route9Text5:
- TX_ASM
+ text_asm
ld hl, Route9TrainerHeader4
jr Route9TalkToTrainer
Route9Text6:
- TX_ASM
+ text_asm
ld hl, Route9TrainerHeader5
jr Route9TalkToTrainer
Route9Text7:
- TX_ASM
+ text_asm
ld hl, Route9TrainerHeader6
jr Route9TalkToTrainer
Route9Text8:
- TX_ASM
+ text_asm
ld hl, Route9TrainerHeader7
jr Route9TalkToTrainer
Route9Text9:
- TX_ASM
+ text_asm
ld hl, Route9TrainerHeader8
Route9TalkToTrainer:
call TalkToTrainer
jp TextScriptEnd
Route9BattleText1:
- TX_FAR _Route9BattleText1
- db "@"
+ text_far _Route9BattleText1
+ text_end
Route9EndBattleText1:
- TX_FAR _Route9EndBattleText1
- db "@"
+ text_far _Route9EndBattleText1
+ text_end
Route9AfterBattleText1:
- TX_FAR _Route9AfterBattleText1
- db "@"
+ text_far _Route9AfterBattleText1
+ text_end
Route9BattleText2:
- TX_FAR _Route9BattleText2
- db "@"
+ text_far _Route9BattleText2
+ text_end
Route9EndBattleText2:
- TX_FAR _Route9EndBattleText2
- db "@"
+ text_far _Route9EndBattleText2
+ text_end
Route9AfterBattleText2:
- TX_FAR _Route9AfterBattleText2
- db "@"
+ text_far _Route9AfterBattleText2
+ text_end
Route9BattleText3:
- TX_FAR _Route9BattleText3
- db "@"
+ text_far _Route9BattleText3
+ text_end
Route9EndBattleText3:
- TX_FAR _Route9EndBattleText3
- db "@"
+ text_far _Route9EndBattleText3
+ text_end
Route9AfterBattleText3:
- TX_FAR _Route9AfterBattleText3
- db "@"
+ text_far _Route9AfterBattleText3
+ text_end
Route9BattleText4:
- TX_FAR _Route9BattleText4
- db "@"
+ text_far _Route9BattleText4
+ text_end
Route9EndBattleText4:
- TX_FAR _Route9EndBattleText4
- db "@"
+ text_far _Route9EndBattleText4
+ text_end
Route9AfterBattleText4:
- TX_FAR _Route9AfterBattleText4
- db "@"
+ text_far _Route9AfterBattleText4
+ text_end
Route9BattleText5:
- TX_FAR _Route9BattleText5
- db "@"
+ text_far _Route9BattleText5
+ text_end
Route9EndBattleText5:
- TX_FAR _Route9EndBattleText5
- db "@"
+ text_far _Route9EndBattleText5
+ text_end
Route9AfterBattleText5:
- TX_FAR _Route9AfterBattleText5
- db "@"
+ text_far _Route9AfterBattleText5
+ text_end
Route9BattleText6:
- TX_FAR _Route9BattleText6
- db "@"
+ text_far _Route9BattleText6
+ text_end
Route9EndBattleText6:
- TX_FAR _Route9EndBattleText6
- db "@"
+ text_far _Route9EndBattleText6
+ text_end
Route9AfterBattleText6:
- TX_FAR _Route9AfterBattleText6
- db "@"
+ text_far _Route9AfterBattleText6
+ text_end
Route9BattleText7:
- TX_FAR _Route9BattleText7
- db "@"
+ text_far _Route9BattleText7
+ text_end
Route9EndBattleText7:
- TX_FAR _Route9EndBattleText7
- db "@"
+ text_far _Route9EndBattleText7
+ text_end
Route9AfterBattleText7:
- TX_FAR _Route9AfterBattleText7
- db "@"
+ text_far _Route9AfterBattleText7
+ text_end
Route9BattleText8:
- TX_FAR _Route9BattleText8
- db "@"
+ text_far _Route9BattleText8
+ text_end
Route9EndBattleText8:
- TX_FAR _Route9EndBattleText8
- db "@"
+ text_far _Route9EndBattleText8
+ text_end
Route9AfterBattleText8:
- TX_FAR _Route9AfterBattleText8
- db "@"
+ text_far _Route9AfterBattleText8
+ text_end
Route9BattleText9:
- TX_FAR _Route9BattleText9
- db "@"
+ text_far _Route9BattleText9
+ text_end
Route9EndBattleText9:
- TX_FAR _Route9EndBattleText9
- db "@"
+ text_far _Route9EndBattleText9
+ text_end
Route9AfterBattleText9:
- TX_FAR _Route9AfterBattleText9
- db "@"
+ text_far _Route9AfterBattleText9
+ text_end
Route9Text11:
- TX_FAR _Route9Text11
- db "@"
+ text_far _Route9Text11
+ text_end
diff --git a/scripts/SSAnne1F.asm b/scripts/SSAnne1F.asm
index 5cace6ee..c819f470 100755
--- a/scripts/SSAnne1F.asm
+++ b/scripts/SSAnne1F.asm
@@ -7,9 +7,9 @@ SSAnne1F_TextPointers:
dw SSAnne1Text2
SSAnne1Text1:
- TX_FAR _SSAnne1Text1
- db "@"
+ text_far _SSAnne1Text1
+ text_end
SSAnne1Text2:
- TX_FAR _SSAnne1Text2
- db "@"
+ text_far _SSAnne1Text2
+ text_end
diff --git a/scripts/SSAnne1FRooms.asm b/scripts/SSAnne1FRooms.asm
index 2371f286..2e75cddd 100755
--- a/scripts/SSAnne1FRooms.asm
+++ b/scripts/SSAnne1FRooms.asm
@@ -64,100 +64,100 @@ SSAnne8TrainerHeader3:
db $ff
SSAnne8Text1:
- TX_ASM
+ text_asm
ld hl, SSAnne8TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SSAnne8Text2:
- TX_ASM
+ text_asm
ld hl, SSAnne8TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SSAnne8Text3:
- TX_ASM
+ text_asm
ld hl, SSAnne8TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SSAnne8Text4:
- TX_ASM
+ text_asm
ld hl, SSAnne8TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
SSAnne8Text8:
- TX_FAR _SSAnne8Text8
- TX_ASM
+ text_far _SSAnne8Text8
+ text_asm
ld a, WIGGLYTUFF
call PlayCry
jp TextScriptEnd
SSAnne8BattleText1:
- TX_FAR _SSAnne8BattleText1
- db "@"
+ text_far _SSAnne8BattleText1
+ text_end
SSAnne8EndBattleText1:
- TX_FAR _SSAnne8EndBattleText1
- db "@"
+ text_far _SSAnne8EndBattleText1
+ text_end
SSAnne8AfterBattleText1:
- TX_FAR _SSAnne8AfterBattleText1
- db "@"
+ text_far _SSAnne8AfterBattleText1
+ text_end
SSAnne8BattleText2:
- TX_FAR _SSAnne8BattleText2
- db "@"
+ text_far _SSAnne8BattleText2
+ text_end
SSAnne8EndBattleText2:
- TX_FAR _SSAnne8EndBattleText2
- db "@"
+ text_far _SSAnne8EndBattleText2
+ text_end
SSAnne8AfterBattleText2:
- TX_FAR _SSAnne8AfterBattleText2
- db "@"
+ text_far _SSAnne8AfterBattleText2
+ text_end
SSAnne8BattleText3:
- TX_FAR _SSAnne8BattleText3
- db "@"
+ text_far _SSAnne8BattleText3
+ text_end
SSAnne8EndBattleText3:
- TX_FAR _SSAnne8EndBattleText3
- db "@"
+ text_far _SSAnne8EndBattleText3
+ text_end
SSAnne8AfterBattleText3:
- TX_FAR _SSAnne8AfterBattleText3
- db "@"
+ text_far _SSAnne8AfterBattleText3
+ text_end
SSAnne8BattleText4:
- TX_FAR _SSAnne8BattleText4
- db "@"
+ text_far _SSAnne8BattleText4
+ text_end
SSAnne8EndBattleText4:
- TX_FAR _SSAnne8EndBattleText4
- db "@"
+ text_far _SSAnne8EndBattleText4
+ text_end
SSAnne8AfterBattleText4:
- TX_FAR _SSAnne8AfterBattleText4
- db "@"
+ text_far _SSAnne8AfterBattleText4
+ text_end
SSAnne8Text5:
- TX_FAR _SSAnne8Text5
- db "@"
+ text_far _SSAnne8Text5
+ text_end
SSAnne8Text6:
- TX_FAR _SSAnne8Text6
- db "@"
+ text_far _SSAnne8Text6
+ text_end
SSAnne8Text7:
- TX_FAR _SSAnne8Text7
- db "@"
+ text_far _SSAnne8Text7
+ text_end
SSAnne8Text9:
- TX_FAR _SSAnne8Text9
- db "@"
+ text_far _SSAnne8Text9
+ text_end
SSAnne8Text11:
- TX_FAR _SSAnne8Text11
- db "@"
+ text_far _SSAnne8Text11
+ text_end
diff --git a/scripts/SSAnne2F.asm b/scripts/SSAnne2F.asm
index face08d8..98d4f197 100755
--- a/scripts/SSAnne2F.asm
+++ b/scripts/SSAnne2F.asm
@@ -184,11 +184,11 @@ SSAnne2F_TextPointers:
dw SSAnne2Text3
SSAnne2Text1:
- TX_FAR _SSAnne2Text1
- db "@"
+ text_far _SSAnne2Text1
+ text_end
SSAnne2Text2:
- TX_ASM
+ text_asm
ld hl, SSAnneRivalBeforeBattleText
call PrintText
ld hl, wd72d
@@ -200,17 +200,17 @@ SSAnne2Text2:
jp TextScriptEnd
SSAnneRivalBeforeBattleText:
- TX_FAR _SSAnneRivalBeforeBattleText
- db "@"
+ text_far _SSAnneRivalBeforeBattleText
+ text_end
SSAnneRivalDefeatedText:
- TX_FAR _SSAnneRivalDefeatedText
- db "@"
+ text_far _SSAnneRivalDefeatedText
+ text_end
SSAnneRivalWonText:
- TX_FAR _SSAnneRivalWonText
- db "@"
+ text_far _SSAnneRivalWonText
+ text_end
SSAnne2Text3:
- TX_FAR _SSAnneRivalCaptainText
- db "@"
+ text_far _SSAnneRivalCaptainText
+ text_end
diff --git a/scripts/SSAnne2FRooms.asm b/scripts/SSAnne2FRooms.asm
index a79e1be8..949cfec8 100755
--- a/scripts/SSAnne2FRooms.asm
+++ b/scripts/SSAnne2FRooms.asm
@@ -69,31 +69,31 @@ SSAnne9TrainerHeader3:
db $ff
SSAnne9Text1:
- TX_ASM
+ text_asm
ld hl, SSAnne9TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SSAnne9Text2:
- TX_ASM
+ text_asm
ld hl, SSAnne9TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SSAnne9Text3:
- TX_ASM
+ text_asm
ld hl, SSAnne9TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SSAnne9Text4:
- TX_ASM
+ text_asm
ld hl, SSAnne9TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
SSAnne9Text5:
- TX_ASM
+ text_asm
call SaveScreenTilesToBuffer1
ld hl, SSAnne9Text_61bf2
call PrintText
@@ -103,113 +103,113 @@ SSAnne9Text5:
jp TextScriptEnd
SSAnne9Text_61bf2:
- TX_FAR _SSAnne9Text_61bf2
- db "@"
+ text_far _SSAnne9Text_61bf2
+ text_end
SSAnne9Text7:
- TX_ASM
+ text_asm
ld hl, SSAnne9Text_61c01
call PrintText
jp TextScriptEnd
SSAnne9Text_61c01:
- TX_FAR _SSAnne9Text_61c01
- db "@"
+ text_far _SSAnne9Text_61c01
+ text_end
SSAnne9Text8:
- TX_ASM
+ text_asm
ld hl, SSAnne9Text_61c10
call PrintText
jp TextScriptEnd
SSAnne9Text_61c10:
- TX_FAR _SSAnne9Text_61c10
- db "@"
+ text_far _SSAnne9Text_61c10
+ text_end
SSAnne9Text10:
- TX_ASM
+ text_asm
ld hl, SSAnne9Text_61c1f
call PrintText
jp TextScriptEnd
SSAnne9Text_61c1f:
- TX_FAR _SSAnne9Text_61c1f
- db "@"
+ text_far _SSAnne9Text_61c1f
+ text_end
SSAnne9Text11:
- TX_ASM
+ text_asm
ld hl, SSAnne9Text_61c2e
call PrintText
jp TextScriptEnd
SSAnne9Text_61c2e:
- TX_FAR _SSAnne9Text_61c2e
- db "@"
+ text_far _SSAnne9Text_61c2e
+ text_end
SSAnne9Text12:
- TX_ASM
+ text_asm
ld hl, SSAnne9Text_61c3d
call PrintText
jp TextScriptEnd
SSAnne9Text_61c3d:
- TX_FAR _SSAnne9Text_61c3d
- db "@"
+ text_far _SSAnne9Text_61c3d
+ text_end
SSAnne9Text13:
- TX_ASM
+ text_asm
ld hl, SSAnne9Text_61c4c
call PrintText
jp TextScriptEnd
SSAnne9Text_61c4c:
- TX_FAR _SSAnne9Text_61c4c
- db "@"
+ text_far _SSAnne9Text_61c4c
+ text_end
SSAnne9BattleText1:
- TX_FAR _SSAnne9BattleText1
- db "@"
+ text_far _SSAnne9BattleText1
+ text_end
SSAnne9EndBattleText1:
- TX_FAR _SSAnne9EndBattleText1
- db "@"
+ text_far _SSAnne9EndBattleText1
+ text_end
SSAnne9AfterBattleText1:
- TX_FAR _SSAnne9AfterBattleText1
- db "@"
+ text_far _SSAnne9AfterBattleText1
+ text_end
SSAnne9BattleText2:
- TX_FAR _SSAnne9BattleText2
- db "@"
+ text_far _SSAnne9BattleText2
+ text_end
SSAnne9EndBattleText2:
- TX_FAR _SSAnne9EndBattleText2
- db "@"
+ text_far _SSAnne9EndBattleText2
+ text_end
SSAnne9AfterBattleText2:
- TX_FAR _SSAnne9AfterBattleText2
- db "@"
+ text_far _SSAnne9AfterBattleText2
+ text_end
SSAnne9BattleText3:
- TX_FAR _SSAnne9BattleText3
- db "@"
+ text_far _SSAnne9BattleText3
+ text_end
SSAnne9EndBattleText3:
- TX_FAR _SSAnne9EndBattleText3
- db "@"
+ text_far _SSAnne9EndBattleText3
+ text_end
SSAnne9AfterBattleText3:
- TX_FAR _SSAnne9AfterBattleText3
- db "@"
+ text_far _SSAnne9AfterBattleText3
+ text_end
SSAnne9BattleText4:
- TX_FAR _SSAnne9BattleText4
- db "@"
+ text_far _SSAnne9BattleText4
+ text_end
SSAnne9EndBattleText4:
- TX_FAR _SSAnne9EndBattleText4
- db "@"
+ text_far _SSAnne9EndBattleText4
+ text_end
SSAnne9AfterBattleText4:
- TX_FAR _SSAnne9AfterBattleText4
- db "@"
+ text_far _SSAnne9AfterBattleText4
+ text_end
diff --git a/scripts/SSAnne3F.asm b/scripts/SSAnne3F.asm
index 5da0e0c7..e3e7a1d3 100755
--- a/scripts/SSAnne3F.asm
+++ b/scripts/SSAnne3F.asm
@@ -5,5 +5,5 @@ SSAnne3F_TextPointers:
dw SSAnne3Text1
SSAnne3Text1:
- TX_FAR _SSAnne3Text1
- db "@"
+ text_far _SSAnne3Text1
+ text_end
diff --git a/scripts/SSAnneB1F.asm b/scripts/SSAnneB1F.asm
index 25df076f..91452977 100755
--- a/scripts/SSAnneB1F.asm
+++ b/scripts/SSAnneB1F.asm
@@ -2,4 +2,4 @@ SSAnneB1F_Script:
jp EnableAutoTextBoxDrawing
SSAnneB1F_TextPointers:
- db "@"
+ text_end
diff --git a/scripts/SSAnneB1FRooms.asm b/scripts/SSAnneB1FRooms.asm
index 3777852c..e655b1b8 100755
--- a/scripts/SSAnneB1FRooms.asm
+++ b/scripts/SSAnneB1FRooms.asm
@@ -82,120 +82,120 @@ SSAnne10TrainerHeader5:
db $ff
SSAnne10Text1:
- TX_ASM
+ text_asm
ld hl, SSAnne10TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SSAnne10Text2:
- TX_ASM
+ text_asm
ld hl, SSAnne10TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SSAnne10Text3:
- TX_ASM
+ text_asm
ld hl, SSAnne10TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SSAnne10Text4:
- TX_ASM
+ text_asm
ld hl, SSAnne10TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
SSAnne10Text5:
- TX_ASM
+ text_asm
ld hl, SSAnne10TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
SSAnne10Text6:
- TX_ASM
+ text_asm
ld hl, SSAnne10TrainerHeader5
call TalkToTrainer
jp TextScriptEnd
SSAnne10Text8:
- TX_FAR _SSAnne10Text8
- TX_ASM
+ text_far _SSAnne10Text8
+ text_asm
ld a, MACHOKE
call PlayCry
jp TextScriptEnd
SSAnne10BattleText1:
- TX_FAR _SSAnne10BattleText1
- db "@"
+ text_far _SSAnne10BattleText1
+ text_end
SSAnne10EndBattleText1:
- TX_FAR _SSAnne10EndBattleText1
- db "@"
+ text_far _SSAnne10EndBattleText1
+ text_end
SSAnne10AfterBattleText1:
- TX_FAR _SSAnne10AfterBattleText1
- db "@"
+ text_far _SSAnne10AfterBattleText1
+ text_end
SSAnne10BattleText2:
- TX_FAR _SSAnne10BattleText2
- db "@"
+ text_far _SSAnne10BattleText2
+ text_end
SSAnne10EndBattleText2:
- TX_FAR _SSAnne10EndBattleText2
- db "@"
+ text_far _SSAnne10EndBattleText2
+ text_end
SSAnne10AfterBattleText2:
- TX_FAR _SSAnne10AfterBattleText2
- db "@"
+ text_far _SSAnne10AfterBattleText2
+ text_end
SSAnne10BattleText3:
- TX_FAR _SSAnne10BattleText3
- db "@"
+ text_far _SSAnne10BattleText3
+ text_end
SSAnne10EndBattleText3:
- TX_FAR _SSAnne10EndBattleText3
- db "@"
+ text_far _SSAnne10EndBattleText3
+ text_end
SSAnne10AfterBattleText3:
- TX_FAR _SSAnne10AfterBattleText3
- db "@"
+ text_far _SSAnne10AfterBattleText3
+ text_end
SSAnne10BattleText4:
- TX_FAR _SSAnne10BattleText4
- db "@"
+ text_far _SSAnne10BattleText4
+ text_end
SSAnne10EndBattleText4:
- TX_FAR _SSAnne10EndBattleText4
- db "@"
+ text_far _SSAnne10EndBattleText4
+ text_end
SSAnne10AfterBattleText4:
- TX_FAR _SSAnne10AfterBattleText4
- db "@"
+ text_far _SSAnne10AfterBattleText4
+ text_end
SSAnne10BattleText5:
- TX_FAR _SSAnne10BattleText5
- db "@"
+ text_far _SSAnne10BattleText5
+ text_end
SSAnne10EndBattleText5:
- TX_FAR _SSAnne10EndBattleText5
- db "@"
+ text_far _SSAnne10EndBattleText5
+ text_end
SSAnne10AfterBattleText5:
- TX_FAR _SSAnne10AfterBattleText5
- db "@"
+ text_far _SSAnne10AfterBattleText5
+ text_end
SSAnne10BattleText6:
- TX_FAR _SSAnne10BattleText6
- db "@"
+ text_far _SSAnne10BattleText6
+ text_end
SSAnne10EndBattleText6:
- TX_FAR _SSAnne10EndBattleText6
- db "@"
+ text_far _SSAnne10EndBattleText6
+ text_end
SSAnne10AfterBattleText6:
- TX_FAR _SSAnne10AfterBattleText6
- db "@"
+ text_far _SSAnne10AfterBattleText6
+ text_end
SSAnne10Text7:
- TX_FAR _SSAnne10Text7
- db "@"
+ text_far _SSAnne10Text7
+ text_end
diff --git a/scripts/SSAnneBow.asm b/scripts/SSAnneBow.asm
index 4569f0f8..fbc60d1a 100755
--- a/scripts/SSAnneBow.asm
+++ b/scripts/SSAnneBow.asm
@@ -40,49 +40,49 @@ SSAnne5TrainerHeader1:
db $ff
SSAnne5Text1:
- TX_FAR _SSAnne5Text1
- db "@"
+ text_far _SSAnne5Text1
+ text_end
SSAnne5Text2:
- TX_FAR _SSAnne5Text2
- db "@"
+ text_far _SSAnne5Text2
+ text_end
SSAnne5Text3:
- TX_FAR _SSAnne5Text3
- db "@"
+ text_far _SSAnne5Text3
+ text_end
SSAnne5Text4:
- TX_ASM
+ text_asm
ld hl, SSAnne5TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SSAnne5BattleText1:
- TX_FAR _SSAnne5BattleText1
- db "@"
+ text_far _SSAnne5BattleText1
+ text_end
SSAnne5EndBattleText1:
- TX_FAR _SSAnne5EndBattleText1
- db "@"
+ text_far _SSAnne5EndBattleText1
+ text_end
SSAnne5AfterBattleText1:
- TX_FAR _SSAnne5AfterBattleText1
- db "@"
+ text_far _SSAnne5AfterBattleText1
+ text_end
SSAnne5Text5:
- TX_ASM
+ text_asm
ld hl, SSAnne5TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SSAnne5BattleText2:
- TX_FAR _SSAnne5BattleText2
- db "@"
+ text_far _SSAnne5BattleText2
+ text_end
SSAnne5EndBattleText2:
- TX_FAR _SSAnne5EndBattleText2
- db "@"
+ text_far _SSAnne5EndBattleText2
+ text_end
SSAnne5AfterBattleText2:
- TX_FAR _SSAnne5AfterBattleText2
- db "@"
+ text_far _SSAnne5AfterBattleText2
+ text_end
diff --git a/scripts/SSAnneCaptainsRoom.asm b/scripts/SSAnneCaptainsRoom.asm
index 6078ccf0..70518c37 100755
--- a/scripts/SSAnneCaptainsRoom.asm
+++ b/scripts/SSAnneCaptainsRoom.asm
@@ -15,7 +15,7 @@ SSAnneCaptainsRoom_TextPointers:
dw SSAnne7Text3
SSAnne7Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_HM01
jr nz, .asm_797c4
ld hl, SSAnne7RubText
@@ -42,8 +42,8 @@ SSAnne7Text1:
jp TextScriptEnd
SSAnne7RubText:
- TX_FAR _SSAnne7RubText
- TX_ASM
+ text_far _SSAnne7RubText
+ text_asm
ld a, [wAudioROMBank]
cp BANK(Audio3_UpdateMusic)
ld [wAudioSavedROMBank], a
@@ -68,26 +68,26 @@ SSAnne7RubText:
jp TextScriptEnd
ReceivingHM01Text:
- TX_FAR _ReceivingHM01Text
- db "@"
+ text_far _ReceivingHM01Text
+ text_end
ReceivedHM01Text:
- TX_FAR _ReceivedHM01Text
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _ReceivedHM01Text
+ sound_get_key_item
+ text_end
SSAnne7Text_61932:
- TX_FAR _SSAnne7Text_61932
- db "@"
+ text_far _SSAnne7Text_61932
+ text_end
HM01NoRoomText:
- TX_FAR _HM01NoRoomText
- db "@"
+ text_far _HM01NoRoomText
+ text_end
SSAnne7Text2:
- TX_FAR _SSAnne7Text2
- db "@"
+ text_far _SSAnne7Text2
+ text_end
SSAnne7Text3:
- TX_FAR _SSAnne7Text3
- db "@"
+ text_far _SSAnne7Text3
+ text_end
diff --git a/scripts/SSAnneKitchen.asm b/scripts/SSAnneKitchen.asm
index 137706a0..7334cc69 100755
--- a/scripts/SSAnneKitchen.asm
+++ b/scripts/SSAnneKitchen.asm
@@ -12,31 +12,31 @@ SSAnneKitchen_TextPointers:
dw SSAnne6Text7
SSAnne6Text1:
- TX_FAR _SSAnne6Text1
- db "@"
+ text_far _SSAnne6Text1
+ text_end
SSAnne6Text2:
- TX_FAR _SSAnne6Text2
- db "@"
+ text_far _SSAnne6Text2
+ text_end
SSAnne6Text3:
- TX_FAR _SSAnne6Text3
- db "@"
+ text_far _SSAnne6Text3
+ text_end
SSAnne6Text4:
- TX_FAR _SSAnne6Text4
- db "@"
+ text_far _SSAnne6Text4
+ text_end
SSAnne6Text5:
- TX_FAR _SSAnne6Text5
- db "@"
+ text_far _SSAnne6Text5
+ text_end
SSAnne6Text6:
- TX_FAR _SSAnne6Text6
- db "@"
+ text_far _SSAnne6Text6
+ text_end
SSAnne6Text7:
- TX_ASM
+ text_asm
ld hl, SSAnne6Text_61807
call PrintText
ld a, [hRandomAdd]
@@ -56,17 +56,17 @@ SSAnne6Text7:
jp TextScriptEnd
SSAnne6Text_61807:
- TX_FAR _SSAnne6Text_61807
- db "@"
+ text_far _SSAnne6Text_61807
+ text_end
SSAnne6Text_6180c:
- TX_FAR _SSAnne6Text_6180c
- db "@"
+ text_far _SSAnne6Text_6180c
+ text_end
SSAnne6Text_61811:
- TX_FAR _SSAnne6Text_61811
- db "@"
+ text_far _SSAnne6Text_61811
+ text_end
SSAnne6Text_61816:
- TX_FAR _SSAnne6Text_61816
- db "@"
+ text_far _SSAnne6Text_61816
+ text_end
diff --git a/scripts/SafariZoneCenter.asm b/scripts/SafariZoneCenter.asm
index 0a266887..1e7db243 100755
--- a/scripts/SafariZoneCenter.asm
+++ b/scripts/SafariZoneCenter.asm
@@ -7,9 +7,9 @@ SafariZoneCenter_TextPointers:
dw SafariZoneCenterText3
SafariZoneCenterText2:
- TX_FAR _SafariZoneCenterText2
- db "@"
+ text_far _SafariZoneCenterText2
+ text_end
SafariZoneCenterText3:
- TX_FAR _SafariZoneCenterText3
- db "@"
+ text_far _SafariZoneCenterText3
+ text_end
diff --git a/scripts/SafariZoneCenterRestHouse.asm b/scripts/SafariZoneCenterRestHouse.asm
index a652644b..a03823cc 100755
--- a/scripts/SafariZoneCenterRestHouse.asm
+++ b/scripts/SafariZoneCenterRestHouse.asm
@@ -6,9 +6,9 @@ SafariZoneCenterRestHouse_TextPointers:
dw SafariZoneRestHouse1Text2
SafariZoneRestHouse1Text1:
- TX_FAR _SafariZoneRestHouse1Text1
- db "@"
+ text_far _SafariZoneRestHouse1Text1
+ text_end
SafariZoneRestHouse1Text2:
- TX_FAR _SafariZoneRestHouse1Text2
- db "@"
+ text_far _SafariZoneRestHouse1Text2
+ text_end
diff --git a/scripts/SafariZoneEast.asm b/scripts/SafariZoneEast.asm
index 7f4a5543..062eeab1 100755
--- a/scripts/SafariZoneEast.asm
+++ b/scripts/SafariZoneEast.asm
@@ -11,13 +11,13 @@ SafariZoneEast_TextPointers:
dw SafariZoneEastText7
SafariZoneEastText5:
- TX_FAR _SafariZoneEastText5
- db "@"
+ text_far _SafariZoneEastText5
+ text_end
SafariZoneEastText6:
- TX_FAR _SafariZoneEastText6
- db "@"
+ text_far _SafariZoneEastText6
+ text_end
SafariZoneEastText7:
- TX_FAR _SafariZoneEastText7
- db "@"
+ text_far _SafariZoneEastText7
+ text_end
diff --git a/scripts/SafariZoneEastRestHouse.asm b/scripts/SafariZoneEastRestHouse.asm
index 24141459..03655d69 100755
--- a/scripts/SafariZoneEastRestHouse.asm
+++ b/scripts/SafariZoneEastRestHouse.asm
@@ -8,13 +8,13 @@ SafariZoneEastRestHouse_TextPointers:
dw SafariZoneRestHouse3Text3
SafariZoneRestHouse3Text1:
- TX_FAR _SafariZoneRestHouse3Text1
- db "@"
+ text_far _SafariZoneRestHouse3Text1
+ text_end
SafariZoneRestHouse3Text2:
- TX_FAR _SafariZoneRestHouse3Text2
- db "@"
+ text_far _SafariZoneRestHouse3Text2
+ text_end
SafariZoneRestHouse3Text3:
- TX_FAR _SafariZoneRestHouse3Text3
- db "@"
+ text_far _SafariZoneRestHouse3Text3
+ text_end
diff --git a/scripts/SafariZoneGate.asm b/scripts/SafariZoneGate.asm
index f3de556b..6f8299fc 100755
--- a/scripts/SafariZoneGate.asm
+++ b/scripts/SafariZoneGate.asm
@@ -139,12 +139,12 @@ SafariZoneGate_TextPointers:
dw .SafariZoneEntranceText6
.SafariZoneEntranceText1
- TX_FAR _SafariZoneEntranceText1
- db "@"
+ text_far _SafariZoneEntranceText1
+ text_end
.SafariZoneEntranceText4
- TX_FAR SafariZoneEntranceText_9e6e4
- TX_ASM
+ text_far SafariZoneEntranceText_9e6e4
+ text_asm
ld a, MONEY_BOX
ld [wTextBoxID], a
call DisplayTextBoxID
@@ -208,22 +208,22 @@ SafariZoneGate_TextPointers:
jp TextScriptEnd
.MakePaymentText
- TX_FAR SafariZoneEntranceText_9e747
- TX_SFX_ITEM_1
- TX_FAR _SafariZoneEntranceText_75360
- db "@"
+ text_far SafariZoneEntranceText_9e747
+ sound_get_item_1
+ text_far _SafariZoneEntranceText_75360
+ text_end
.PleaseComeAgainText
- TX_FAR _SafariZoneEntranceText_75365
- db "@"
+ text_far _SafariZoneEntranceText_75365
+ text_end
.NotEnoughMoneyText
- TX_FAR _SafariZoneEntranceText_7536a
- db "@"
+ text_far _SafariZoneEntranceText_7536a
+ text_end
.SafariZoneEntranceText5
- TX_FAR SafariZoneEntranceText_9e814
- TX_ASM
+ text_far SafariZoneEntranceText_9e814
+ text_asm
call YesNoChoice
ld a, [wCurrentMenuItem]
and a
@@ -255,19 +255,19 @@ SafariZoneGate_TextPointers:
jp TextScriptEnd
.SafariZoneEntranceText_753bb
- TX_FAR _SafariZoneEntranceText_753bb
- db "@"
+ text_far _SafariZoneEntranceText_753bb
+ text_end
.SafariZoneEntranceText_753c0
- TX_FAR _SafariZoneEntranceText_753c0
- db "@"
+ text_far _SafariZoneEntranceText_753c0
+ text_end
.SafariZoneEntranceText6
- TX_FAR _SafariZoneEntranceText_753c5
- db "@"
+ text_far _SafariZoneEntranceText_753c5
+ text_end
.SafariZoneEntranceText2
- TX_ASM
+ text_asm
ld hl, .FirstTimeQuestionText
call PrintText
call YesNoChoice
@@ -281,13 +281,13 @@ SafariZoneGate_TextPointers:
jp TextScriptEnd
.FirstTimeQuestionText
- TX_FAR _SafariZoneEntranceText_753e6
- db "@"
+ text_far _SafariZoneEntranceText_753e6
+ text_end
.ExplanationText
- TX_FAR _SafariZoneEntranceText_753eb
- db "@"
+ text_far _SafariZoneEntranceText_753eb
+ text_end
.RegularText
- TX_FAR _SafariZoneEntranceText_753f0
- db "@"
+ text_far _SafariZoneEntranceText_753f0
+ text_end
diff --git a/scripts/SafariZoneNorth.asm b/scripts/SafariZoneNorth.asm
index 734328b4..aaf39ea2 100755
--- a/scripts/SafariZoneNorth.asm
+++ b/scripts/SafariZoneNorth.asm
@@ -11,21 +11,21 @@ SafariZoneNorth_TextPointers:
dw SafariZoneNorthText7
SafariZoneNorthText3:
- TX_FAR _SafariZoneNorthText3
- db "@"
+ text_far _SafariZoneNorthText3
+ text_end
SafariZoneNorthText4:
- TX_FAR _SafariZoneNorthText4
- db "@"
+ text_far _SafariZoneNorthText4
+ text_end
SafariZoneNorthText5:
- TX_FAR _SafariZoneNorthText5
- db "@"
+ text_far _SafariZoneNorthText5
+ text_end
SafariZoneNorthText6:
- TX_FAR _SafariZoneNorthText6
- db "@"
+ text_far _SafariZoneNorthText6
+ text_end
SafariZoneNorthText7:
- TX_FAR _SafariZoneNorthText7
- db "@"
+ text_far _SafariZoneNorthText7
+ text_end
diff --git a/scripts/SafariZoneNorthRestHouse.asm b/scripts/SafariZoneNorthRestHouse.asm
index fdc438f4..b7a690a1 100755
--- a/scripts/SafariZoneNorthRestHouse.asm
+++ b/scripts/SafariZoneNorthRestHouse.asm
@@ -8,13 +8,13 @@ SafariZoneNorthRestHouse_TextPointers:
dw SafariZoneRestHouse4Text3
SafariZoneRestHouse4Text1:
- TX_FAR _SafariZoneRestHouse4Text1
- db "@"
+ text_far _SafariZoneRestHouse4Text1
+ text_end
SafariZoneRestHouse4Text2:
- TX_FAR _SafariZoneRestHouse4Text2
- db "@"
+ text_far _SafariZoneRestHouse4Text2
+ text_end
SafariZoneRestHouse4Text3:
- TX_FAR _SafariZoneRestHouse4Text3
- db "@"
+ text_far _SafariZoneRestHouse4Text3
+ text_end
diff --git a/scripts/SafariZoneSecretHouse.asm b/scripts/SafariZoneSecretHouse.asm
index 2d9b2305..af04adb3 100755
--- a/scripts/SafariZoneSecretHouse.asm
+++ b/scripts/SafariZoneSecretHouse.asm
@@ -5,7 +5,7 @@ SafariZoneSecretHouse_TextPointers:
dw SafariZoneSecretHouseText1
SafariZoneSecretHouseText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_HM03
jr nz, .asm_20a9b
ld hl, SafariZoneSecretHouseText_4a350
@@ -28,18 +28,18 @@ SafariZoneSecretHouseText1:
jp TextScriptEnd
SafariZoneSecretHouseText_4a350:
- TX_FAR _SecretHouseText_4a350
- db "@"
+ text_far _SecretHouseText_4a350
+ text_end
ReceivedHM03Text:
- TX_FAR _ReceivedHM03Text
- TX_SFX_ITEM_1
- db "@"
+ text_far _ReceivedHM03Text
+ sound_get_item_1
+ text_end
HM03ExplanationText:
- TX_FAR _HM03ExplanationText
- db "@"
+ text_far _HM03ExplanationText
+ text_end
HM03NoRoomText:
- TX_FAR _HM03NoRoomText
- db "@"
+ text_far _HM03NoRoomText
+ text_end
diff --git a/scripts/SafariZoneWest.asm b/scripts/SafariZoneWest.asm
index 483a92ee..7ae0807d 100755
--- a/scripts/SafariZoneWest.asm
+++ b/scripts/SafariZoneWest.asm
@@ -12,17 +12,17 @@ SafariZoneWest_TextPointers:
dw SafariZoneWestText8
SafariZoneWestText5:
- TX_FAR _SafariZoneWestText5
- db "@"
+ text_far _SafariZoneWestText5
+ text_end
SafariZoneWestText6:
- TX_FAR _SafariZoneWestText6
- db "@"
+ text_far _SafariZoneWestText6
+ text_end
SafariZoneWestText7:
- TX_FAR _SafariZoneWestText7
- db "@"
+ text_far _SafariZoneWestText7
+ text_end
SafariZoneWestText8:
- TX_FAR _SafariZoneWestText8
- db "@"
+ text_far _SafariZoneWestText8
+ text_end
diff --git a/scripts/SafariZoneWestRestHouse.asm b/scripts/SafariZoneWestRestHouse.asm
index 371bd56c..74ad98fe 100755
--- a/scripts/SafariZoneWestRestHouse.asm
+++ b/scripts/SafariZoneWestRestHouse.asm
@@ -8,13 +8,13 @@ SafariZoneWestRestHouse_TextPointers:
dw SafariZoneRestHouse2Text3
SafariZoneRestHouse2Text1:
- TX_FAR _SafariZoneRestHouse2Text1
- db "@"
+ text_far _SafariZoneRestHouse2Text1
+ text_end
SafariZoneRestHouse2Text2:
- TX_FAR _SafariZoneRestHouse2Text2
- db "@"
+ text_far _SafariZoneRestHouse2Text2
+ text_end
SafariZoneRestHouse2Text3:
- TX_FAR _SafariZoneRestHouse2Text3
- db "@"
+ text_far _SafariZoneRestHouse2Text3
+ text_end
diff --git a/scripts/SaffronCity.asm b/scripts/SaffronCity.asm
index 02e6e2bb..84982534 100755
--- a/scripts/SaffronCity.asm
+++ b/scripts/SaffronCity.asm
@@ -29,94 +29,94 @@ SaffronCity_TextPointers:
dw SaffronCityText25
SaffronCityText1:
- TX_FAR _SaffronCityText1
- db "@"
+ text_far _SaffronCityText1
+ text_end
SaffronCityText2:
- TX_FAR _SaffronCityText2
- db "@"
+ text_far _SaffronCityText2
+ text_end
SaffronCityText3:
- TX_FAR _SaffronCityText3
- db "@"
+ text_far _SaffronCityText3
+ text_end
SaffronCityText4:
- TX_FAR _SaffronCityText4
- db "@"
+ text_far _SaffronCityText4
+ text_end
SaffronCityText5:
- TX_FAR _SaffronCityText5
- db "@"
+ text_far _SaffronCityText5
+ text_end
SaffronCityText6:
- TX_FAR _SaffronCityText6
- db "@"
+ text_far _SaffronCityText6
+ text_end
SaffronCityText7:
- TX_FAR _SaffronCityText7
- db "@"
+ text_far _SaffronCityText7
+ text_end
SaffronCityText8:
- TX_FAR _SaffronCityText8
- db "@"
+ text_far _SaffronCityText8
+ text_end
SaffronCityText9:
- TX_FAR _SaffronCityText9
- db "@"
+ text_far _SaffronCityText9
+ text_end
SaffronCityText10:
- TX_FAR _SaffronCityText10
- db "@"
+ text_far _SaffronCityText10
+ text_end
SaffronCityText11:
- TX_FAR _SaffronCityText11
- db "@"
+ text_far _SaffronCityText11
+ text_end
SaffronCityText12:
- TX_FAR _SaffronCityText12
- TX_CRY_PIDGEOT
- db "@"
+ text_far _SaffronCityText12
+ sound_cry_pidgeot
+ text_end
SaffronCityText13:
- TX_FAR _SaffronCityText13
- db "@"
+ text_far _SaffronCityText13
+ text_end
SaffronCityText14:
- TX_FAR _SaffronCityText14
- db "@"
+ text_far _SaffronCityText14
+ text_end
SaffronCityText15:
- TX_FAR _SaffronCityText15
- db "@"
+ text_far _SaffronCityText15
+ text_end
SaffronCityText16:
- TX_FAR _SaffronCityText16
- db "@"
+ text_far _SaffronCityText16
+ text_end
SaffronCityText17:
- TX_FAR _SaffronCityText17
- db "@"
+ text_far _SaffronCityText17
+ text_end
SaffronCityText18:
- TX_FAR _SaffronCityText18
- db "@"
+ text_far _SaffronCityText18
+ text_end
SaffronCityText20:
- TX_FAR _SaffronCityText20
- db "@"
+ text_far _SaffronCityText20
+ text_end
SaffronCityText21:
- TX_FAR _SaffronCityText21
- db "@"
+ text_far _SaffronCityText21
+ text_end
SaffronCityText22:
- TX_FAR _SaffronCityText22
- db "@"
+ text_far _SaffronCityText22
+ text_end
SaffronCityText24:
- TX_FAR _SaffronCityText24
- db "@"
+ text_far _SaffronCityText24
+ text_end
SaffronCityText25:
- TX_FAR _SaffronCityText25
- db "@"
+ text_far _SaffronCityText25
+ text_end
diff --git a/scripts/SaffronGym.asm b/scripts/SaffronGym.asm
index 8842472c..c53ea0f0 100755
--- a/scripts/SaffronGym.asm
+++ b/scripts/SaffronGym.asm
@@ -150,7 +150,7 @@ SaffronGymTrainerHeader6:
db $ff
SaffronGymText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_SABRINA
jr z, .beginBattle
CheckEventReuseA EVENT_GOT_TM46
@@ -183,77 +183,77 @@ SaffronGymText1:
jp TextScriptEnd
SaffronGymText_5d162:
- TX_FAR _SaffronGymText_5d162
- db "@"
+ text_far _SaffronGymText_5d162
+ text_end
SaffronGymText_5d167:
- TX_FAR _SaffronGymText_5d167
- TX_SFX_KEY_ITEM ; actually plays the second channel of SFX_BALL_POOF due to the wrong music bank being loaded
- TX_BLINK
- db "@"
+ text_far _SaffronGymText_5d167
+ sound_get_key_item ; actually plays the second channel of SFX_BALL_POOF due to the wrong music bank being loaded
+ text_promptbutton
+ text_end
SaffronGymText_5d16e:
- TX_FAR _SaffronGymText_5d16e
- db "@"
+ text_far _SaffronGymText_5d16e
+ text_end
SaffronGymText10:
- TX_FAR _SaffronGymText_5d173
- db "@"
+ text_far _SaffronGymText_5d173
+ text_end
SaffronGymText11:
- TX_FAR ReceivedTM46Text
- TX_SFX_ITEM_1
- TX_FAR _TM46ExplanationText
- db "@"
+ text_far ReceivedTM46Text
+ sound_get_item_1
+ text_far _TM46ExplanationText
+ text_end
SaffronGymText12:
- TX_FAR _TM46NoRoomText
- db "@"
+ text_far _TM46NoRoomText
+ text_end
SaffronGymText2:
- TX_ASM
+ text_asm
ld hl, SaffronGymTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SaffronGymText3:
- TX_ASM
+ text_asm
ld hl, SaffronGymTrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SaffronGymText4:
- TX_ASM
+ text_asm
ld hl, SaffronGymTrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SaffronGymText5:
- TX_ASM
+ text_asm
ld hl, SaffronGymTrainerHeader3
call TalkToTrainer
jp TextScriptEnd
SaffronGymText6:
- TX_ASM
+ text_asm
ld hl, SaffronGymTrainerHeader4
call TalkToTrainer
jp TextScriptEnd
SaffronGymText7:
- TX_ASM
+ text_asm
ld hl, SaffronGymTrainerHeader5
call TalkToTrainer
jp TextScriptEnd
SaffronGymText8:
- TX_ASM
+ text_asm
ld hl, SaffronGymTrainerHeader6
call TalkToTrainer
jp TextScriptEnd
SaffronGymText9:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_SABRINA
jr nz, .asm_5d1dd
ld hl, SaffronGymText_5d1e6
@@ -266,93 +266,93 @@ SaffronGymText9:
jp TextScriptEnd
SaffronGymText_5d1e6:
- TX_FAR _SaffronGymText_5d1e6
- db "@"
+ text_far _SaffronGymText_5d1e6
+ text_end
SaffronGymText_5d1eb:
- TX_FAR _SaffronGymText_5d1eb
- db "@"
+ text_far _SaffronGymText_5d1eb
+ text_end
SaffronGymBattleText1:
- TX_FAR _SaffronGymBattleText1
- db "@"
+ text_far _SaffronGymBattleText1
+ text_end
SaffronGymEndBattleText1:
- TX_FAR _SaffronGymEndBattleText1
- db "@"
+ text_far _SaffronGymEndBattleText1
+ text_end
SaffronGymAfterBattleText1:
- TX_FAR _SaffronGymAfterBattleText1
- db "@"
+ text_far _SaffronGymAfterBattleText1
+ text_end
SaffronGymBattleText2:
- TX_FAR _SaffronGymBattleText2
- db "@"
+ text_far _SaffronGymBattleText2
+ text_end
SaffronGymEndBattleText2:
- TX_FAR _SaffronGymEndBattleText2
- db "@"
+ text_far _SaffronGymEndBattleText2
+ text_end
SaffronGymAfterBattleText2:
- TX_FAR _SaffronGymAfterBattleText2
- db "@"
+ text_far _SaffronGymAfterBattleText2
+ text_end
SaffronGymBattleText3:
- TX_FAR _SaffronGymBattleText3
- db "@"
+ text_far _SaffronGymBattleText3
+ text_end
SaffronGymEndBattleText3:
- TX_FAR _SaffronGymEndBattleText3
- db "@"
+ text_far _SaffronGymEndBattleText3
+ text_end
SaffronGymAfterBattleText3:
- TX_FAR _SaffronGymAfterBattleText3
- db "@"
+ text_far _SaffronGymAfterBattleText3
+ text_end
SaffronGymBattleText4:
- TX_FAR _SaffronGymBattleText4
- db "@"
+ text_far _SaffronGymBattleText4
+ text_end
SaffronGymEndBattleText4:
- TX_FAR _SaffronGymEndBattleText4
- db "@"
+ text_far _SaffronGymEndBattleText4
+ text_end
SaffronGymAfterBattleText4:
- TX_FAR _SaffronGymAfterBattleText4
- db "@"
+ text_far _SaffronGymAfterBattleText4
+ text_end
SaffronGymBattleText5:
- TX_FAR _SaffronGymBattleText5
- db "@"
+ text_far _SaffronGymBattleText5
+ text_end
SaffronGymEndBattleText5:
- TX_FAR _SaffronGymEndBattleText5
- db "@"
+ text_far _SaffronGymEndBattleText5
+ text_end
SaffronGymAfterBattleText5:
- TX_FAR _SaffronGymAfterBattleText5
- db "@"
+ text_far _SaffronGymAfterBattleText5
+ text_end
SaffronGymBattleText6:
- TX_FAR _SaffronGymBattleText6
- db "@"
+ text_far _SaffronGymBattleText6
+ text_end
SaffronGymEndBattleText6:
- TX_FAR _SaffronGymEndBattleText6
- db "@"
+ text_far _SaffronGymEndBattleText6
+ text_end
SaffronGymAfterBattleText6:
- TX_FAR _SaffronGymAfterBattleText6
- db "@"
+ text_far _SaffronGymAfterBattleText6
+ text_end
SaffronGymBattleText7:
- TX_FAR _SaffronGymBattleText7
- db "@"
+ text_far _SaffronGymBattleText7
+ text_end
SaffronGymEndBattleText7:
- TX_FAR _SaffronGymEndBattleText7
- db "@"
+ text_far _SaffronGymEndBattleText7
+ text_end
SaffronGymAfterBattleText7:
- TX_FAR _SaffronGymAfterBattleText7
- db "@"
+ text_far _SaffronGymAfterBattleText7
+ text_end
diff --git a/scripts/SaffronMart.asm b/scripts/SaffronMart.asm
index ebb3cddf..bfa47eb1 100755
--- a/scripts/SaffronMart.asm
+++ b/scripts/SaffronMart.asm
@@ -7,9 +7,9 @@ SaffronMart_TextPointers:
dw SaffronMartText3
SaffronMartText2:
- TX_FAR _SaffronMartText2
- db "@"
+ text_far _SaffronMartText2
+ text_end
SaffronMartText3:
- TX_FAR _SaffronMartText3
- db "@"
+ text_far _SaffronMartText3
+ text_end
diff --git a/scripts/SaffronPidgeyHouse.asm b/scripts/SaffronPidgeyHouse.asm
index f38fbfdb..90078e81 100755
--- a/scripts/SaffronPidgeyHouse.asm
+++ b/scripts/SaffronPidgeyHouse.asm
@@ -8,20 +8,20 @@ SaffronPidgeyHouse_TextPointers:
dw SaffronHouse1Text4
SaffronHouse1Text1:
- TX_FAR _SaffronHouse1Text1
- db "@"
+ text_far _SaffronHouse1Text1
+ text_end
SaffronHouse1Text2:
- TX_FAR _SaffronHouse1Text2
- TX_ASM
+ text_far _SaffronHouse1Text2
+ text_asm
ld a, PIDGEY
call PlayCry
jp TextScriptEnd
SaffronHouse1Text3:
- TX_FAR _SaffronHouse1Text3
- db "@"
+ text_far _SaffronHouse1Text3
+ text_end
SaffronHouse1Text4:
- TX_FAR _SaffronHouse1Text4
- db "@"
+ text_far _SaffronHouse1Text4
+ text_end
diff --git a/scripts/SaffronPokecenter.asm b/scripts/SaffronPokecenter.asm
index a1d73628..68eb4fc6 100755
--- a/scripts/SaffronPokecenter.asm
+++ b/scripts/SaffronPokecenter.asm
@@ -9,15 +9,15 @@ SaffronPokecenter_TextPointers:
dw SaffronTradeNurseText
SaffronHealNurseText:
- TX_POKECENTER_NURSE
+ script_pokecenter_nurse
SaffronPokecenterText2:
- TX_FAR _SaffronPokecenterText2
- db "@"
+ text_far _SaffronPokecenterText2
+ text_end
SaffronPokecenterText3:
- TX_FAR _SaffronPokecenterText3
- db "@"
+ text_far _SaffronPokecenterText3
+ text_end
SaffronTradeNurseText:
- TX_CABLE_CLUB_RECEPTIONIST
+ script_cable_club_receptionist
diff --git a/scripts/SeafoamIslandsB4F.asm b/scripts/SeafoamIslandsB4F.asm
index d08628d0..9bc6b21e 100755
--- a/scripts/SeafoamIslandsB4F.asm
+++ b/scripts/SeafoamIslandsB4F.asm
@@ -149,7 +149,7 @@ ArticunoTrainerHeader:
db $ff
ArticunoText:
- TX_ASM
+ text_asm
ld hl, ArticunoTrainerHeader
call TalkToTrainer
ld a, $4
@@ -157,17 +157,17 @@ ArticunoText:
jp TextScriptEnd
ArticunoBattleText:
- TX_FAR _ArticunoBattleText
- TX_ASM
+ text_far _ArticunoBattleText
+ text_asm
ld a, ARTICUNO
call PlayCry
call WaitForSoundToFinish
jp TextScriptEnd
SeafoamIslands5Text4:
- TX_FAR _SeafoamIslands5Text4
- db "@"
+ text_far _SeafoamIslands5Text4
+ text_end
SeafoamIslands5Text5:
- TX_FAR _SeafoamIslands5Text5
- db "@"
+ text_far _SeafoamIslands5Text5
+ text_end
diff --git a/scripts/SilphCo10F.asm b/scripts/SilphCo10F.asm
index 92d95de1..140584f1 100755
--- a/scripts/SilphCo10F.asm
+++ b/scripts/SilphCo10F.asm
@@ -68,19 +68,19 @@ SilphCo10TrainerHeader1:
db $ff
SilphCo10Text1:
- TX_ASM
+ text_asm
ld hl, SilphCo10TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SilphCo10Text2:
- TX_ASM
+ text_asm
ld hl, SilphCo10TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SilphCo10Text3:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
ld hl, SilphCo10Text_5a1d8
jr nz, .asm_cf85f
@@ -90,33 +90,33 @@ SilphCo10Text3:
jp TextScriptEnd
SilphCo10Text_5a1d3:
- TX_FAR _SilphCo10Text_5a1d3
- db "@"
+ text_far _SilphCo10Text_5a1d3
+ text_end
SilphCo10Text_5a1d8:
- TX_FAR _SilphCo10Text_5a1d8
- db "@"
+ text_far _SilphCo10Text_5a1d8
+ text_end
SilphCo10BattleText1:
- TX_FAR _SilphCo10BattleText1
- db "@"
+ text_far _SilphCo10BattleText1
+ text_end
SilphCo10EndBattleText1:
- TX_FAR _SilphCo10EndBattleText1
- db "@"
+ text_far _SilphCo10EndBattleText1
+ text_end
SilphCo10AfterBattleText1:
- TX_FAR _SilphCo10AfterBattleText1
- db "@"
+ text_far _SilphCo10AfterBattleText1
+ text_end
SilphCo10BattleText2:
- TX_FAR _SilphCo10BattleText2
- db "@"
+ text_far _SilphCo10BattleText2
+ text_end
SilphCo10EndBattleText2:
- TX_FAR _SilphCo10EndBattleText2
- db "@"
+ text_far _SilphCo10EndBattleText2
+ text_end
SilphCo10AfterBattleText2:
- TX_FAR _SilphCo10AfterBattleText2
- db "@"
+ text_far _SilphCo10AfterBattleText2
+ text_end
diff --git a/scripts/SilphCo11F.asm b/scripts/SilphCo11F.asm
index 116b528f..a2c540fe 100755
--- a/scripts/SilphCo11F.asm
+++ b/scripts/SilphCo11F.asm
@@ -301,7 +301,7 @@ SilphCo11TrainerHeader1:
db $ff
SilphCo11Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_MASTER_BALL
jp nz, .asm_62308
ld hl, SilphCoPresidentText
@@ -324,76 +324,76 @@ SilphCo11Text1:
jp TextScriptEnd
SilphCoPresidentText:
- TX_FAR _SilphCoPresidentText
- db "@"
+ text_far _SilphCoPresidentText
+ text_end
ReceivedSilphCoMasterBallText:
- TX_FAR _ReceivedSilphCoMasterBallText
- TX_SFX_KEY_ITEM
- db "@"
+ text_far _ReceivedSilphCoMasterBallText
+ sound_get_key_item
+ text_end
SilphCo10Text_6231c:
- TX_FAR _SilphCo10Text_6231c
- db "@"
+ text_far _SilphCo10Text_6231c
+ text_end
SilphCoMasterBallNoRoomText:
- TX_FAR _SilphCoMasterBallNoRoomText
- db "@"
+ text_far _SilphCoMasterBallNoRoomText
+ text_end
SilphCo11Text2:
- TX_FAR _SilphCo11Text2
- db "@"
+ text_far _SilphCo11Text2
+ text_end
SilphCo11Text3:
- TX_FAR _SilphCo11Text3
- db "@"
+ text_far _SilphCo11Text3
+ text_end
SilphCo10Text_62330:
- TX_FAR _SilphCo10Text_62330
- db "@"
+ text_far _SilphCo10Text_62330
+ text_end
SilphCo11Text6:
- TX_FAR _SilphCo10Text_62335
- db "@"
+ text_far _SilphCo10Text_62335
+ text_end
SilphCo11Text4:
- TX_ASM
+ text_asm
ld hl, SilphCo11TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SilphCo11BattleText1:
- TX_FAR _SilphCo11BattleText1
- db "@"
+ text_far _SilphCo11BattleText1
+ text_end
SilphCo11EndBattleText1:
- TX_FAR _SilphCo11EndBattleText1
- db "@"
+ text_far _SilphCo11EndBattleText1
+ text_end
SilphCo11AfterBattleText1:
- TX_FAR _SilphCo11AfterBattleText1
- db "@"
+ text_far _SilphCo11AfterBattleText1
+ text_end
SilphCo11Text5:
- TX_ASM
+ text_asm
ld hl, SilphCo11TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SilphCo11BattleText2:
- TX_FAR _SilphCo11BattleText2
- db "@"
+ text_far _SilphCo11BattleText2
+ text_end
SilphCo11EndBattleText2:
- TX_FAR _SilphCo11EndBattleText2
- db "@"
+ text_far _SilphCo11EndBattleText2
+ text_end
SilphCo11AfterBattleText2:
- TX_FAR _SilphCo11AfterBattleText2
- db "@"
+ text_far _SilphCo11AfterBattleText2
+ text_end
SilphCo10Text_6236c:
- TX_ASM
+ text_asm
ld hl, SilphCo10Text_6237b
call PrintText
ld a, PORYGON
@@ -401,5 +401,5 @@ SilphCo10Text_6236c:
jp TextScriptEnd
SilphCo10Text_6237b:
- TX_FAR _SilphCo10Text_6237b
- db "@"
+ text_far _SilphCo10Text_6237b
+ text_end
diff --git a/scripts/SilphCo1F.asm b/scripts/SilphCo1F.asm
index 6ccaa29c..bc484b7c 100755
--- a/scripts/SilphCo1F.asm
+++ b/scripts/SilphCo1F.asm
@@ -12,5 +12,5 @@ SilphCo1F_TextPointers:
dw SilphCo1Text1
SilphCo1Text1:
- TX_FAR _SilphCo1Text1
- db "@"
+ text_far _SilphCo1Text1
+ text_end
diff --git a/scripts/SilphCo2F.asm b/scripts/SilphCo2F.asm
index 0ff7cee3..3cc27fab 100755
--- a/scripts/SilphCo2F.asm
+++ b/scripts/SilphCo2F.asm
@@ -137,7 +137,7 @@ SilphCo2TrainerHeader3:
db $ff
SilphCo2Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_TM36
jr nz, .asm_59de4
ld hl, SilphCo2Text_59ded
@@ -156,90 +156,90 @@ SilphCo2Text1:
jp TextScriptEnd
SilphCo2Text_59ded:
- TX_FAR _SilphCo2Text_59ded
- db "@"
+ text_far _SilphCo2Text_59ded
+ text_end
ReceivedTM36Text:
- TX_FAR _ReceivedTM36Text
- TX_SFX_ITEM_1
- db "@"
+ text_far _ReceivedTM36Text
+ sound_get_item_1
+ text_end
TM36ExplanationText:
- TX_FAR _TM36ExplanationText
- db "@"
+ text_far _TM36ExplanationText
+ text_end
TM36NoRoomText:
- TX_FAR _TM36NoRoomText
- db "@"
+ text_far _TM36NoRoomText
+ text_end
SilphCo2Text2:
- TX_ASM
+ text_asm
ld hl, SilphCo2TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SilphCo2Text3:
- TX_ASM
+ text_asm
ld hl, SilphCo2TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SilphCo2Text4:
- TX_ASM
+ text_asm
ld hl, SilphCo2TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SilphCo2Text5:
- TX_ASM
+ text_asm
ld hl, SilphCo2TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
SilphCo2BattleText1:
- TX_FAR _SilphCo2BattleText1
- db "@"
+ text_far _SilphCo2BattleText1
+ text_end
SilphCo2EndBattleText1:
- TX_FAR _SilphCo2EndBattleText1
- db "@"
+ text_far _SilphCo2EndBattleText1
+ text_end
SilphCo2AfterBattleText1:
- TX_FAR _SilphCo2AfterBattleText1
- db "@"
+ text_far _SilphCo2AfterBattleText1
+ text_end
SilphCo2BattleText2:
- TX_FAR _SilphCo2BattleText2
- db "@"
+ text_far _SilphCo2BattleText2
+ text_end
SilphCo2EndBattleText2:
- TX_FAR _SilphCo2EndBattleText2
- db "@"
+ text_far _SilphCo2EndBattleText2
+ text_end
SilphCo2AfterBattleText2:
- TX_FAR _SilphCo2AfterBattleText2
- db "@"
+ text_far _SilphCo2AfterBattleText2
+ text_end
SilphCo2BattleText3:
- TX_FAR _SilphCo2BattleText3
- db "@"
+ text_far _SilphCo2BattleText3
+ text_end
SilphCo2EndBattleText3:
- TX_FAR _SilphCo2EndBattleText3
- db "@"
+ text_far _SilphCo2EndBattleText3
+ text_end
SilphCo2AfterBattleText3:
- TX_FAR _SilphCo2AfterBattleText3
- db "@"
+ text_far _SilphCo2AfterBattleText3
+ text_end
SilphCo2BattleText4:
- TX_FAR _SilphCo2BattleText4
- db "@"
+ text_far _SilphCo2BattleText4
+ text_end
SilphCo2EndBattleText4:
- TX_FAR _SilphCo2EndBattleText4
- db "@"
+ text_far _SilphCo2EndBattleText4
+ text_end
SilphCo2AfterBattleText4:
- TX_FAR _SilphCo2AfterBattleText4
- db "@"
+ text_far _SilphCo2AfterBattleText4
+ text_end
diff --git a/scripts/SilphCo3F.asm b/scripts/SilphCo3F.asm
index 3b6b1da8..ddd40048 100755
--- a/scripts/SilphCo3F.asm
+++ b/scripts/SilphCo3F.asm
@@ -82,7 +82,7 @@ SilphCo3TrainerHeader1:
db $ff
SilphCo3Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
ld hl, SilphCo3Text_59ffe
jr nz, .asm_59fee
@@ -92,45 +92,45 @@ SilphCo3Text1:
jp TextScriptEnd
SilphCo3Text_59ff9:
- TX_FAR _SilphCo3Text_59ff9
- db "@"
+ text_far _SilphCo3Text_59ff9
+ text_end
SilphCo3Text_59ffe:
- TX_FAR _SilphCo3Text_59ffe
- db "@"
+ text_far _SilphCo3Text_59ffe
+ text_end
SilphCo3Text2:
- TX_ASM
+ text_asm
ld hl, SilphCo3TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SilphCo3BattleText1:
- TX_FAR _SilphCo3BattleText1
- db "@"
+ text_far _SilphCo3BattleText1
+ text_end
SilphCo3EndBattleText1:
- TX_FAR _SilphCo3EndBattleText1
- db "@"
+ text_far _SilphCo3EndBattleText1
+ text_end
SilphCo3AfterBattleText1:
- TX_FAR _SilphCo3AfterBattleText1
- db "@"
+ text_far _SilphCo3AfterBattleText1
+ text_end
SilphCo3Text3:
- TX_ASM
+ text_asm
ld hl, SilphCo3TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SilphCo3BattleText2:
- TX_FAR _SilphCo3BattleText2
- db "@"
+ text_far _SilphCo3BattleText2
+ text_end
SilphCo3EndBattleText2:
- TX_FAR _SilphCo3EndBattleText2
- db "@"
+ text_far _SilphCo3EndBattleText2
+ text_end
SilphCo3AfterBattleText2:
- TX_FAR _SilphCo3AfterBattleText2
- db "@"
+ text_far _SilphCo3AfterBattleText2
+ text_end
diff --git a/scripts/SilphCo4F.asm b/scripts/SilphCo4F.asm
index 61288277..523336c0 100755
--- a/scripts/SilphCo4F.asm
+++ b/scripts/SilphCo4F.asm
@@ -130,70 +130,70 @@ SilphCo4TrainerHeader2:
db $ff
SilphCo4Text1:
- TX_ASM
+ text_asm
ld hl, SilphCo4Text_19de0
ld de, SilphCo4Text_19de5
call SilphCo6Script_1a22f
jp TextScriptEnd
SilphCo4Text_19de0:
- TX_FAR _SilphCo4Text_19de0
- db "@"
+ text_far _SilphCo4Text_19de0
+ text_end
SilphCo4Text_19de5:
- TX_FAR _SilphCo4Text_19de5
- db "@"
+ text_far _SilphCo4Text_19de5
+ text_end
SilphCo4Text2:
- TX_ASM
+ text_asm
ld hl, SilphCo4TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SilphCo4BattleText2:
- TX_FAR _SilphCo4BattleText2
- db "@"
+ text_far _SilphCo4BattleText2
+ text_end
SilphCo4EndBattleText2:
- TX_FAR _SilphCo4EndBattleText2
- db "@"
+ text_far _SilphCo4EndBattleText2
+ text_end
SilphCo4AfterBattleText2:
- TX_FAR _SilphCo4AfterBattleText2
- db "@"
+ text_far _SilphCo4AfterBattleText2
+ text_end
SilphCo4Text3:
- TX_ASM
+ text_asm
ld hl, SilphCo4TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SilphCo4BattleText3:
- TX_FAR _SilphCo4BattleText3
- db "@"
+ text_far _SilphCo4BattleText3
+ text_end
SilphCo4EndBattleText3:
- TX_FAR _SilphCo4EndBattleText3
- db "@"
+ text_far _SilphCo4EndBattleText3
+ text_end
SilphCo4AfterBattleText3:
- TX_FAR _SilphCo4AfterBattleText3
- db "@"
+ text_far _SilphCo4AfterBattleText3
+ text_end
SilphCo4Text4:
- TX_ASM
+ text_asm
ld hl, SilphCo4TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SilphCo4BattleText4:
- TX_FAR _SilphCo4BattleText4
- db "@"
+ text_far _SilphCo4BattleText4
+ text_end
SilphCo4EndBattleText4:
- TX_FAR _SilphCo4EndBattleText4
- db "@"
+ text_far _SilphCo4EndBattleText4
+ text_end
SilphCo4AfterBattleText4:
- TX_FAR _SilphCo4AfterBattleText4
- db "@"
+ text_far _SilphCo4AfterBattleText4
+ text_end
diff --git a/scripts/SilphCo5F.asm b/scripts/SilphCo5F.asm
index 39d7235b..653390c7 100755
--- a/scripts/SilphCo5F.asm
+++ b/scripts/SilphCo5F.asm
@@ -122,100 +122,100 @@ SilphCo5TrainerHeader3:
db $ff
SilphCo5Text1:
- TX_ASM
+ text_asm
ld hl, SilphCo5Text_1a010
ld de, SilphCo5Text_1a015
call SilphCo6Script_1a22f
jp TextScriptEnd
SilphCo5Text_1a010:
- TX_FAR _SilphCo5Text_1a010
- db "@"
+ text_far _SilphCo5Text_1a010
+ text_end
SilphCo5Text_1a015:
- TX_FAR _SilphCo5Text_1a015
- db "@"
+ text_far _SilphCo5Text_1a015
+ text_end
SilphCo5Text2:
- TX_ASM
+ text_asm
ld hl, SilphCo5TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SilphCo5BattleText2:
- TX_FAR _SilphCo5BattleText2
- db "@"
+ text_far _SilphCo5BattleText2
+ text_end
SilphCo5EndBattleText2:
- TX_FAR _SilphCo5EndBattleText2
- db "@"
+ text_far _SilphCo5EndBattleText2
+ text_end
SilphCo5AfterBattleText2:
- TX_FAR _SilphCo5AfterBattleText2
- db "@"
+ text_far _SilphCo5AfterBattleText2
+ text_end
SilphCo5Text3:
- TX_ASM
+ text_asm
ld hl, SilphCo5TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SilphCo5BattleText3:
- TX_FAR _SilphCo5BattleText3
- db "@"
+ text_far _SilphCo5BattleText3
+ text_end
SilphCo5EndBattleText3:
- TX_FAR _SilphCo5EndBattleText3
- db "@"
+ text_far _SilphCo5EndBattleText3
+ text_end
SilphCo5AfterBattleText3:
- TX_FAR _SilphCo5AfterBattleText3
- db "@"
+ text_far _SilphCo5AfterBattleText3
+ text_end
SilphCo5Text4:
- TX_ASM
+ text_asm
ld hl, SilphCo5TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SilphCo5BattleText4:
- TX_FAR _SilphCo5BattleText4
- db "@"
+ text_far _SilphCo5BattleText4
+ text_end
SilphCo5EndBattleText4:
- TX_FAR _SilphCo5EndBattleText4
- db "@"
+ text_far _SilphCo5EndBattleText4
+ text_end
SilphCo5AfterBattleText4:
- TX_FAR _SilphCo5AfterBattleText4
- db "@"
+ text_far _SilphCo5AfterBattleText4
+ text_end
SilphCo5Text5:
- TX_ASM
+ text_asm
ld hl, SilphCo5TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
SilphCo5BattleText5:
- TX_FAR _SilphCo5BattleText5
- db "@"
+ text_far _SilphCo5BattleText5
+ text_end
SilphCo5EndBattleText5:
- TX_FAR _SilphCo5EndBattleText5
- db "@"
+ text_far _SilphCo5EndBattleText5
+ text_end
SilphCo5AfterBattleText5:
- TX_FAR _SilphCo5AfterBattleText5
- db "@"
+ text_far _SilphCo5AfterBattleText5
+ text_end
SilphCo5Text9:
- TX_FAR _SilphCo5Text9
- db "@"
+ text_far _SilphCo5Text9
+ text_end
SilphCo5Text10:
- TX_FAR _SilphCo5Text10
- db "@"
+ text_far _SilphCo5Text10
+ text_end
SilphCo5Text11:
- TX_FAR _SilphCo5Text11
- db "@"
+ text_far _SilphCo5Text11
+ text_end
diff --git a/scripts/SilphCo6F.asm b/scripts/SilphCo6F.asm
index 9e6ffaf1..0d393b6e 100755
--- a/scripts/SilphCo6F.asm
+++ b/scripts/SilphCo6F.asm
@@ -91,130 +91,130 @@ SilphCo6Script_1a22f:
jp PrintText
SilphCo6Text1:
- TX_ASM
+ text_asm
ld hl, SilphCo6Text_1a24a
ld de, SilphCo6Text_1a24f
call SilphCo6Script_1a22f
jp TextScriptEnd
SilphCo6Text_1a24a:
- TX_FAR _SilphCo6Text_1a24a
- db "@"
+ text_far _SilphCo6Text_1a24a
+ text_end
SilphCo6Text_1a24f:
- TX_FAR _SilphCo6Text_1a24f
- db "@"
+ text_far _SilphCo6Text_1a24f
+ text_end
SilphCo6Text2:
- TX_ASM
+ text_asm
ld hl, SilphCo6Text_1a261
ld de, SilphCo6Text_1a266
call SilphCo6Script_1a22f
jp TextScriptEnd
SilphCo6Text_1a261:
- TX_FAR _SilphCo6Text_1a261
- db "@"
+ text_far _SilphCo6Text_1a261
+ text_end
SilphCo6Text_1a266:
- TX_FAR _SilphCo6Text_1a266
- db "@"
+ text_far _SilphCo6Text_1a266
+ text_end
SilphCo6Text3:
- TX_ASM
+ text_asm
ld hl, SilphCo6Text_1a278
ld de, SilphCo6Text_1a27d
call SilphCo6Script_1a22f
jp TextScriptEnd
SilphCo6Text_1a278:
- TX_FAR _SilphCo6Text_1a278
- db "@"
+ text_far _SilphCo6Text_1a278
+ text_end
SilphCo6Text_1a27d:
- TX_FAR _SilphCo6Text_1a27d
- db "@"
+ text_far _SilphCo6Text_1a27d
+ text_end
SilphCo6Text4:
- TX_ASM
+ text_asm
ld hl, SilphCo6Text_1a28f
ld de, SilphCo6Text_1a294
call SilphCo6Script_1a22f
jp TextScriptEnd
SilphCo6Text_1a28f:
- TX_FAR _SilphCo6Text_1a28f
- db "@"
+ text_far _SilphCo6Text_1a28f
+ text_end
SilphCo6Text_1a294:
- TX_FAR _SilphCo6Text_1a294
- db "@"
+ text_far _SilphCo6Text_1a294
+ text_end
SilphCo6Text5:
- TX_ASM
+ text_asm
ld hl, SilphCo6Text_1a2a6
ld de, SilphCo6Text_1a2ab
call SilphCo6Script_1a22f
jp TextScriptEnd
SilphCo6Text_1a2a6:
- TX_FAR _SilphCo6Text_1a2a6
- db "@"
+ text_far _SilphCo6Text_1a2a6
+ text_end
SilphCo6Text_1a2ab:
- TX_FAR _SilphCo6Text_1a2ab
- db "@"
+ text_far _SilphCo6Text_1a2ab
+ text_end
SilphCo6Text6:
- TX_ASM
+ text_asm
ld hl, SilphCo6TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SilphCo6BattleText2:
- TX_FAR _SilphCo6BattleText2
- db "@"
+ text_far _SilphCo6BattleText2
+ text_end
SilphCo6EndBattleText2:
- TX_FAR _SilphCo6EndBattleText2
- db "@"
+ text_far _SilphCo6EndBattleText2
+ text_end
SilphCo6AfterBattleText2:
- TX_FAR _SilphCo6AfterBattleText2
- db "@"
+ text_far _SilphCo6AfterBattleText2
+ text_end
SilphCo6Text7:
- TX_ASM
+ text_asm
ld hl, SilphCo6TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SilphCo6BattleText3:
- TX_FAR _SilphCo6BattleText3
- db "@"
+ text_far _SilphCo6BattleText3
+ text_end
SilphCo6EndBattleText3:
- TX_FAR _SilphCo6EndBattleText3
- db "@"
+ text_far _SilphCo6EndBattleText3
+ text_end
SilphCo6AfterBattleText3:
- TX_FAR _SilphCo6AfterBattleText3
- db "@"
+ text_far _SilphCo6AfterBattleText3
+ text_end
SilphCo6Text8:
- TX_ASM
+ text_asm
ld hl, SilphCo6TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SilphCo6BattleText4:
- TX_FAR _SilphCo6BattleText4
- db "@"
+ text_far _SilphCo6BattleText4
+ text_end
SilphCo6EndBattleText4:
- TX_FAR _SilphCo6EndBattleText4
- db "@"
+ text_far _SilphCo6EndBattleText4
+ text_end
SilphCo6AfterBattleText4:
- TX_FAR _SilphCo6AfterBattleText4
- db "@"
+ text_far _SilphCo6AfterBattleText4
+ text_end
diff --git a/scripts/SilphCo7F.asm b/scripts/SilphCo7F.asm
index 4966bba6..966a18d9 100755
--- a/scripts/SilphCo7F.asm
+++ b/scripts/SilphCo7F.asm
@@ -319,7 +319,7 @@ SilphCo7TrainerHeader3:
SilphCo7Text1:
; lapras guy
- TX_ASM
+ text_asm
ld a, [wd72e]
bit 0, a ; got lapras?
jr z, .givelapras
@@ -350,23 +350,23 @@ SilphCo7Text1:
jp TextScriptEnd
.MeetLaprasGuyText
- TX_FAR _MeetLaprasGuyText
- db "@"
+ text_far _MeetLaprasGuyText
+ text_end
.HeresYourLaprasText
- TX_FAR _HeresYourLaprasText
- db "@"
+ text_far _HeresYourLaprasText
+ text_end
.LaprasGuyText
- TX_FAR _LaprasGuyText
- db "@"
+ text_far _LaprasGuyText
+ text_end
.LaprasGuySavedText
- TX_FAR _LaprasGuySavedText
- db "@"
+ text_far _LaprasGuySavedText
+ text_end
SilphCo7Text2:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
jr nz, .savedsilph
ld hl, .rockettext
@@ -379,15 +379,15 @@ SilphCo7Text2:
jp TextScriptEnd
.rockettext
- TX_FAR _SilphCo7Text_51e00
- db "@"
+ text_far _SilphCo7Text_51e00
+ text_end
.savedtext
- TX_FAR _CanceledMasterBallText
- db "@"
+ text_far _CanceledMasterBallText
+ text_end
SilphCo7Text3:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
jr nz, .savedsilph
ld hl, .rockettext
@@ -400,15 +400,15 @@ SilphCo7Text3:
jp TextScriptEnd
.rockettext
- TX_FAR _SilphCo7Text_51e23
- db "@"
+ text_far _SilphCo7Text_51e23
+ text_end
.savedtext
- TX_FAR _SilphCo7Text_51e28
- db "@"
+ text_far _SilphCo7Text_51e28
+ text_end
SilphCo7Text4:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
jr nz, .savedsilph
ld hl, .rockettext
@@ -421,107 +421,107 @@ SilphCo7Text4:
jp TextScriptEnd
.rockettext
- TX_FAR _SilphCo7Text_51e46
- db "@"
+ text_far _SilphCo7Text_51e46
+ text_end
.savedtext
- TX_FAR _SilphCo7Text_51e4b
- db "@"
+ text_far _SilphCo7Text_51e4b
+ text_end
SilphCo7Text5:
- TX_ASM
+ text_asm
ld hl, SilphCo7TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SilphCo7BattleText1:
- TX_FAR _SilphCo7BattleText1
- db "@"
+ text_far _SilphCo7BattleText1
+ text_end
SilphCo7EndBattleText1:
- TX_FAR _SilphCo7EndBattleText1
- db "@"
+ text_far _SilphCo7EndBattleText1
+ text_end
SilphCo7AfterBattleText1:
- TX_FAR _SilphCo7AfterBattleText1
- db "@"
+ text_far _SilphCo7AfterBattleText1
+ text_end
SilphCo7Text6:
- TX_ASM
+ text_asm
ld hl, SilphCo7TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SilphCo7BattleText2:
- TX_FAR _SilphCo7BattleText2
- db "@"
+ text_far _SilphCo7BattleText2
+ text_end
SilphCo7EndBattleText2:
- TX_FAR _SilphCo7EndBattleText2
- db "@"
+ text_far _SilphCo7EndBattleText2
+ text_end
SilphCo7AfterBattleText2:
- TX_FAR _SilphCo7AfterBattleText2
- db "@"
+ text_far _SilphCo7AfterBattleText2
+ text_end
SilphCo7Text7:
- TX_ASM
+ text_asm
ld hl, SilphCo7TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SilphCo7BattleText3:
- TX_FAR _SilphCo7BattleText3
- db "@"
+ text_far _SilphCo7BattleText3
+ text_end
SilphCo7EndBattleText3:
- TX_FAR _SilphCo7EndBattleText3
- db "@"
+ text_far _SilphCo7EndBattleText3
+ text_end
SilphCo7AfterBattleText3:
- TX_FAR _SilphCo7AfterBattleText3
- db "@"
+ text_far _SilphCo7AfterBattleText3
+ text_end
SilphCo7Text8:
- TX_ASM
+ text_asm
ld hl, SilphCo7TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
SilphCo7BattleText4:
- TX_FAR _SilphCo7BattleText4
- db "@"
+ text_far _SilphCo7BattleText4
+ text_end
SilphCo7EndBattleText4:
- TX_FAR _SilphCo7EndBattleText4
- db "@"
+ text_far _SilphCo7EndBattleText4
+ text_end
SilphCo7AfterBattleText4:
- TX_FAR _SilphCo7AfterBattleText4
- db "@"
+ text_far _SilphCo7AfterBattleText4
+ text_end
SilphCo7Text9:
- TX_ASM
+ text_asm
ld hl, SilphCo7Text_51ebe
call PrintText
jp TextScriptEnd
SilphCo7Text_51ebe:
- TX_FAR _SilphCo7Text_51ebe
- db "@"
+ text_far _SilphCo7Text_51ebe
+ text_end
SilphCo7Text13:
- TX_FAR _SilphCo7Text_51ec3
- db "@"
+ text_far _SilphCo7Text_51ec3
+ text_end
SilphCo7Text14:
- TX_FAR _SilphCo7Text_51ec8
- db "@"
+ text_far _SilphCo7Text_51ec8
+ text_end
SilphCo7Text_51ecd:
- TX_FAR _SilphCo7Text_51ecd
- db "@"
+ text_far _SilphCo7Text_51ecd
+ text_end
SilphCo7Text15:
- TX_FAR _SilphCo7Text_51ed2
- db "@"
+ text_far _SilphCo7Text_51ed2
+ text_end
diff --git a/scripts/SilphCo8F.asm b/scripts/SilphCo8F.asm
index b1c32a34..71e529a6 100755
--- a/scripts/SilphCo8F.asm
+++ b/scripts/SilphCo8F.asm
@@ -111,7 +111,7 @@ SilphCo8TrainerHeader2:
db $ff
SilphCo8Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
ld hl, SilphCo8Text_565c3
jr nz, .asm_565b8
@@ -121,63 +121,63 @@ SilphCo8Text1:
jp TextScriptEnd
SilphCo8Text_565be:
- TX_FAR _SilphCo8Text_565be
- db "@"
+ text_far _SilphCo8Text_565be
+ text_end
SilphCo8Text_565c3:
- TX_FAR _SilphCo8Text_565c3
- db "@"
+ text_far _SilphCo8Text_565c3
+ text_end
SilphCo8Text2:
- TX_ASM
+ text_asm
ld hl, SilphCo8TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SilphCo8Text3:
- TX_ASM
+ text_asm
ld hl, SilphCo8TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SilphCo8Text4:
- TX_ASM
+ text_asm
ld hl, SilphCo8TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SilphCo8BattleText1:
- TX_FAR _SilphCo8BattleText1
- db "@"
+ text_far _SilphCo8BattleText1
+ text_end
SilphCo8EndBattleText1:
- TX_FAR _SilphCo8EndBattleText1
- db "@"
+ text_far _SilphCo8EndBattleText1
+ text_end
SilphCo8AfterBattleText1:
- TX_FAR _SilphCo8AfterBattleText1
- db "@"
+ text_far _SilphCo8AfterBattleText1
+ text_end
SilphCo8BattleText2:
- TX_FAR _SilphCo8BattleText2
- db "@"
+ text_far _SilphCo8BattleText2
+ text_end
SilphCo8EndBattleText2:
- TX_FAR _SilphCo8EndBattleText2
- db "@"
+ text_far _SilphCo8EndBattleText2
+ text_end
SilphCo8AfterBattleText2:
- TX_FAR _SilphCo8AfterBattleText2
- db "@"
+ text_far _SilphCo8AfterBattleText2
+ text_end
SilphCo8BattleText3:
- TX_FAR _SilphCo8BattleText3
- db "@"
+ text_far _SilphCo8BattleText3
+ text_end
SilphCo8EndBattleText3:
- TX_FAR _SilphCo8EndBattleText3
- db "@"
+ text_far _SilphCo8EndBattleText3
+ text_end
SilphCo8AfterBattleText3:
- TX_FAR _SilphCo8AfterBattleText3
- db "@"
+ text_far _SilphCo8AfterBattleText3
+ text_end
diff --git a/scripts/SilphCo9F.asm b/scripts/SilphCo9F.asm
index d9fdc625..e1676bf2 100755
--- a/scripts/SilphCo9F.asm
+++ b/scripts/SilphCo9F.asm
@@ -159,7 +159,7 @@ SilphCo9TrainerHeader2:
db $ff
SilphCo9Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_SILPH_CO_GIOVANNI
jr nz, .asm_5d8dc
ld hl, SilphCo9Text_5d8e5
@@ -178,67 +178,67 @@ SilphCo9Text1:
jp TextScriptEnd
SilphCo9Text_5d8e5:
- TX_FAR _SilphCo9Text_5d8e5
- db "@"
+ text_far _SilphCo9Text_5d8e5
+ text_end
SilphCo9Text_5d8ea:
- TX_FAR _SilphCo9Text_5d8ea
- db "@"
+ text_far _SilphCo9Text_5d8ea
+ text_end
SilphCo9Text_5d8ef:
- TX_FAR _SilphCo9Text_5d8ef
- db "@"
+ text_far _SilphCo9Text_5d8ef
+ text_end
SilphCo9Text2:
- TX_ASM
+ text_asm
ld hl, SilphCo9TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
SilphCo9Text3:
- TX_ASM
+ text_asm
ld hl, SilphCo9TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
SilphCo9Text4:
- TX_ASM
+ text_asm
ld hl, SilphCo9TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
SilphCo9BattleText1:
- TX_FAR _SilphCo9BattleText1
- db "@"
+ text_far _SilphCo9BattleText1
+ text_end
SilphCo9EndBattleText1:
- TX_FAR _SilphCo9EndBattleText1
- db "@"
+ text_far _SilphCo9EndBattleText1
+ text_end
SilphCo9AfterBattleText1:
- TX_FAR _SilphCo9AfterBattleText1
- db "@"
+ text_far _SilphCo9AfterBattleText1
+ text_end
SilphCo9BattleText2:
- TX_FAR _SilphCo9BattleText2
- db "@"
+ text_far _SilphCo9BattleText2
+ text_end
SilphCo9EndBattleText2:
- TX_FAR _SilphCo9EndBattleText2
- db "@"
+ text_far _SilphCo9EndBattleText2
+ text_end
SilphCo9AfterBattleText2:
- TX_FAR _SilphCo9AfterBattleText2
- db "@"
+ text_far _SilphCo9AfterBattleText2
+ text_end
SilphCo9BattleText3:
- TX_FAR _SilphCo9BattleText3
- db "@"
+ text_far _SilphCo9BattleText3
+ text_end
SilphCo9EndBattleText3:
- TX_FAR _SilphCo9EndBattleText3
- db "@"
+ text_far _SilphCo9EndBattleText3
+ text_end
SilphCo9AfterBattleText3:
- TX_FAR _SilphCo9AfterBattleText3
- db "@"
+ text_far _SilphCo9AfterBattleText3
+ text_end
diff --git a/scripts/SilphCoElevator.asm b/scripts/SilphCoElevator.asm
index 49de6b27..3ff507c7 100755
--- a/scripts/SilphCoElevator.asm
+++ b/scripts/SilphCoElevator.asm
@@ -81,7 +81,7 @@ SilphCoElevator_TextPointers:
dw SilphCoElevatorText1
SilphCoElevatorText1:
- TX_ASM
+ text_asm
call SilphCoElevatorScript_457f1
ld hl, SilphCoElevatorWarpMaps
predef DisplayElevatorFloorMenu
diff --git a/scripts/TradeCenter.asm b/scripts/TradeCenter.asm
index 3201c8cd..3a1a10f3 100755
--- a/scripts/TradeCenter.asm
+++ b/scripts/TradeCenter.asm
@@ -34,5 +34,5 @@ TradeCenter_TextPointers:
dw TradeCenterText1
TradeCenterText1:
- TX_FAR _TradeCenterText1
- db "@"
+ text_far _TradeCenterText1
+ text_end
diff --git a/scripts/UndergroundPathNorthSouth.asm b/scripts/UndergroundPathNorthSouth.asm
index 52b3d8bf..eb8fe4fd 100755
--- a/scripts/UndergroundPathNorthSouth.asm
+++ b/scripts/UndergroundPathNorthSouth.asm
@@ -2,4 +2,4 @@ UndergroundPathNorthSouth_Script:
jp EnableAutoTextBoxDrawing
UndergroundPathNorthSouth_TextPointers:
- db "@"
+ text_end
diff --git a/scripts/UndergroundPathRoute5.asm b/scripts/UndergroundPathRoute5.asm
index 23d72569..1cb1f78a 100755
--- a/scripts/UndergroundPathRoute5.asm
+++ b/scripts/UndergroundPathRoute5.asm
@@ -3,16 +3,16 @@ UndergroundPathRoute5_Script:
ld [wLastMap], a
ret
-UndergroundPathEntranceRoute5_5d6af:
- db "@"
+UndergroundPathEntranceRoute5_TextScriptEndingText:
+ text_end
UndergroundPathRoute5_TextPointers:
dw UndergroundPathEntranceRoute5Text1
UndergroundPathEntranceRoute5Text1:
- TX_ASM
+ text_asm
ld a, $9
ld [wWhichTrade], a
predef DoInGameTradeDialogue
- ld hl, UndergroundPathEntranceRoute5_5d6af
+ ld hl, UndergroundPathEntranceRoute5_TextScriptEndingText
ret
diff --git a/scripts/UndergroundPathRoute6.asm b/scripts/UndergroundPathRoute6.asm
index 0a690518..e3994e33 100755
--- a/scripts/UndergroundPathRoute6.asm
+++ b/scripts/UndergroundPathRoute6.asm
@@ -7,5 +7,5 @@ UndergroundPathRoute6_TextPointers:
dw UndergroundPathEntranceRoute6Text1
UndergroundPathEntranceRoute6Text1:
- TX_FAR _UndergrdTunnelEntRoute6Text1
- db "@"
+ text_far _UndergrdTunnelEntRoute6Text1
+ text_end
diff --git a/scripts/UndergroundPathRoute7.asm b/scripts/UndergroundPathRoute7.asm
index 3a1f14c7..c311b409 100755
--- a/scripts/UndergroundPathRoute7.asm
+++ b/scripts/UndergroundPathRoute7.asm
@@ -7,5 +7,5 @@ UndergroundPathRoute7_TextPointers:
dw UndergroundPathEntranceRoute7Text1
UndergroundPathEntranceRoute7Text1:
- TX_FAR _UndergroundPathEntRoute7Text1
- db "@"
+ text_far _UndergroundPathEntRoute7Text1
+ text_end
diff --git a/scripts/UndergroundPathRoute7Copy.asm b/scripts/UndergroundPathRoute7Copy.asm
index 8a494caf..2eb74fce 100755
--- a/scripts/UndergroundPathRoute7Copy.asm
+++ b/scripts/UndergroundPathRoute7Copy.asm
@@ -8,17 +8,17 @@ UndergroundPathRoute7Copy_TextPointers:
dw UGPathRoute7EntranceUnusedText_5d77d
UGPathRoute7EntranceUnusedText_5d773:
- TX_FAR _UGPathRoute7EntranceUnusedText_5d773
- db "@"
+ text_far _UGPathRoute7EntranceUnusedText_5d773
+ text_end
UGPathRoute7EntranceUnusedText_5d778:
- TX_FAR _UGPathRoute7EntranceUnusedText_5d778
- db "@"
+ text_far _UGPathRoute7EntranceUnusedText_5d778
+ text_end
UGPathRoute7EntranceUnusedText_5d77d:
- TX_FAR _UGPathRoute7EntranceUnusedText_5d77d
- db "@"
+ text_far _UGPathRoute7EntranceUnusedText_5d77d
+ text_end
UGPathRoute7EntranceUnusedText_5d782:
- TX_FAR _UGPathRoute7EntranceUnusedText_5d782
- db "@"
+ text_far _UGPathRoute7EntranceUnusedText_5d782
+ text_end
diff --git a/scripts/UndergroundPathRoute8.asm b/scripts/UndergroundPathRoute8.asm
index ab0a9977..6eab58c2 100755
--- a/scripts/UndergroundPathRoute8.asm
+++ b/scripts/UndergroundPathRoute8.asm
@@ -7,5 +7,5 @@ UndergroundPathRoute8_TextPointers:
dw UndergroundPathEntranceRoute8Text1
UndergroundPathEntranceRoute8Text1:
- TX_FAR _UndergroundPathEntRoute8Text1
- db "@"
+ text_far _UndergroundPathEntRoute8Text1
+ text_end
diff --git a/scripts/UndergroundPathWestEast.asm b/scripts/UndergroundPathWestEast.asm
index cb1a7bd8..e21c3268 100755
--- a/scripts/UndergroundPathWestEast.asm
+++ b/scripts/UndergroundPathWestEast.asm
@@ -2,4 +2,4 @@ UndergroundPathWestEast_Script:
jp EnableAutoTextBoxDrawing
UndergroundPathWestEast_TextPointers:
- db "@"
+ text_end
diff --git a/scripts/VermilionCity.asm b/scripts/VermilionCity.asm
index b253fea6..9f0e8139 100755
--- a/scripts/VermilionCity.asm
+++ b/scripts/VermilionCity.asm
@@ -129,11 +129,11 @@ VermilionCity_TextPointers:
dw VermilionCityText13
VermilionCityText1:
- TX_FAR _VermilionCityText1
- db "@"
+ text_far _VermilionCityText1
+ text_end
VermilionCityText2:
- TX_ASM
+ text_asm
CheckEvent EVENT_SS_ANNE_LEFT
jr nz, .shipHasDeparted
ld hl, VermilionCityTextDidYouSee
@@ -146,15 +146,15 @@ VermilionCityText2:
jp TextScriptEnd
VermilionCityTextDidYouSee:
- TX_FAR _VermilionCityTextDidYouSee
- db "@"
+ text_far _VermilionCityTextDidYouSee
+ text_end
VermilionCityTextSSAnneDeparted:
- TX_FAR _VermilionCityTextSSAnneDeparted
- db "@"
+ text_far _VermilionCityTextSSAnneDeparted
+ text_end
VermilionCityText3:
- TX_ASM
+ text_asm
CheckEvent EVENT_SS_ANNE_LEFT
jr nz, .shipHasDeparted
ld a, [wSpriteStateData1 + 9]
@@ -196,32 +196,32 @@ VermilionCityText3:
db $ff
SSAnneWelcomeText4:
- TX_FAR _SSAnneWelcomeText4
- db "@"
+ text_far _SSAnneWelcomeText4
+ text_end
SSAnneWelcomeText9:
- TX_FAR _SSAnneWelcomeText9
- db "@"
+ text_far _SSAnneWelcomeText9
+ text_end
SSAnneFlashedTicketText:
- TX_FAR _SSAnneFlashedTicketText
- db "@"
+ text_far _SSAnneFlashedTicketText
+ text_end
SSAnneNoTicketText:
- TX_FAR _SSAnneNoTicketText
- db "@"
+ text_far _SSAnneNoTicketText
+ text_end
SSAnneNotHereText:
- TX_FAR _SSAnneNotHereText
- db "@"
+ text_far _SSAnneNotHereText
+ text_end
VermilionCityText4:
- TX_FAR _VermilionCityText4
- db "@"
+ text_far _VermilionCityText4
+ text_end
VermilionCityText5:
- TX_FAR _VermilionCityText5
- TX_ASM
+ text_far _VermilionCityText5
+ text_asm
ld a, MACHOP
call PlayCry
call WaitForSoundToFinish
@@ -229,29 +229,29 @@ VermilionCityText5:
ret
VermilionCityText14:
- TX_FAR _VermilionCityText14
- db "@"
+ text_far _VermilionCityText14
+ text_end
VermilionCityText6:
- TX_FAR _VermilionCityText6
- db "@"
+ text_far _VermilionCityText6
+ text_end
VermilionCityText7:
- TX_FAR _VermilionCityText7
- db "@"
+ text_far _VermilionCityText7
+ text_end
VermilionCityText8:
- TX_FAR _VermilionCityText8
- db "@"
+ text_far _VermilionCityText8
+ text_end
VermilionCityText11:
- TX_FAR _VermilionCityText11
- db "@"
+ text_far _VermilionCityText11
+ text_end
VermilionCityText12:
- TX_FAR _VermilionCityText12
- db "@"
+ text_far _VermilionCityText12
+ text_end
VermilionCityText13:
- TX_FAR _VermilionCityText13
- db "@"
+ text_far _VermilionCityText13
+ text_end
diff --git a/scripts/VermilionDock.asm b/scripts/VermilionDock.asm
index 90fef6b2..3f520cfb 100755
--- a/scripts/VermilionDock.asm
+++ b/scripts/VermilionDock.asm
@@ -211,5 +211,5 @@ VermilionDock_TextPointers:
dw VermilionDockText1
VermilionDockText1:
- TX_FAR _VermilionDockText1
- db "@"
+ text_far _VermilionDockText1
+ text_end
diff --git a/scripts/VermilionGym.asm b/scripts/VermilionGym.asm
index 1569fb55..cea7e3ec 100755
--- a/scripts/VermilionGym.asm
+++ b/scripts/VermilionGym.asm
@@ -129,7 +129,7 @@ VermilionGymTrainerHeader2:
db $ff
LTSurgeText:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_LT_SURGE
jr z, .beforeBeat
CheckEventReuseA EVENT_GOT_TM24
@@ -165,87 +165,87 @@ LTSurgeText:
jp TextScriptEnd
LTSurgePreBattleText:
- TX_FAR _LTSurgePreBattleText
- db "@"
+ text_far _LTSurgePreBattleText
+ text_end
LTSurgePostBattleAdviceText:
- TX_FAR _LTSurgePostBattleAdviceText
- db "@"
+ text_far _LTSurgePostBattleAdviceText
+ text_end
LTSurgeThunderbadgeInfoText:
- TX_FAR _LTSurgeThunderbadgeInfoText
- db "@"
+ text_far _LTSurgeThunderbadgeInfoText
+ text_end
ReceivedTM24Text:
- TX_FAR _ReceivedTM24Text
- TX_SFX_KEY_ITEM
- TX_FAR _TM24ExplanationText
- db "@"
+ text_far _ReceivedTM24Text
+ sound_get_key_item
+ text_far _TM24ExplanationText
+ text_end
TM24NoRoomText:
- TX_FAR _TM24NoRoomText
- db "@"
+ text_far _TM24NoRoomText
+ text_end
ReceivedThunderbadgeText:
- TX_FAR _ReceivedThunderbadgeText
- db "@"
+ text_far _ReceivedThunderbadgeText
+ text_end
VermilionGymTrainerText1:
- TX_ASM
+ text_asm
ld hl, VermilionGymTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
VermilionGymBattleText1:
- TX_FAR _VermilionGymBattleText1
- db "@"
+ text_far _VermilionGymBattleText1
+ text_end
VermilionGymEndBattleText1:
- TX_FAR _VermilionGymEndBattleText1
- db "@"
+ text_far _VermilionGymEndBattleText1
+ text_end
VermilionGymAfterBattleText1:
- TX_FAR _VermilionGymAfterBattleText1
- db "@"
+ text_far _VermilionGymAfterBattleText1
+ text_end
VermilionGymTrainerText2:
- TX_ASM
+ text_asm
ld hl, VermilionGymTrainerHeader1
call TalkToTrainer
jp TextScriptEnd
VermilionGymBattleText2:
- TX_FAR _VermilionGymBattleText2
- db "@"
+ text_far _VermilionGymBattleText2
+ text_end
VermilionGymEndBattleText2:
- TX_FAR _VermilionGymEndBattleText2
- db "@"
+ text_far _VermilionGymEndBattleText2
+ text_end
VermilionGymAfterBattleText2:
- TX_FAR _VermilionGymAfterBattleText2
- db "@"
+ text_far _VermilionGymAfterBattleText2
+ text_end
VermilionGymTrainerText3:
- TX_ASM
+ text_asm
ld hl, VermilionGymTrainerHeader2
call TalkToTrainer
jp TextScriptEnd
VermilionGymBattleText3:
- TX_FAR _VermilionGymBattleText3
- db "@"
+ text_far _VermilionGymBattleText3
+ text_end
VermilionGymEndBattleText3:
- TX_FAR _VermilionGymEndBattleText3
- db "@"
+ text_far _VermilionGymEndBattleText3
+ text_end
VermilionGymAfterBattleText3:
- TX_FAR _VermilionGymAfterBattleText3
- db "@"
+ text_far _VermilionGymAfterBattleText3
+ text_end
VermilionGymFanText:
- TX_ASM
+ text_asm
ld a, [wBeatGymFlags]
bit 2, a
jr nz, .afterBeat
@@ -259,9 +259,9 @@ VermilionGymFanText:
jp TextScriptEnd
VermilionGymFanPreBattleText:
- TX_FAR _VermilionGymFanPreBattleText
- db "@"
+ text_far _VermilionGymFanPreBattleText
+ text_end
VermilionGymFanPostBattleText:
- TX_FAR _VermilionGymFanPostBattleText
- db "@"
+ text_far _VermilionGymFanPostBattleText
+ text_end
diff --git a/scripts/VermilionMart.asm b/scripts/VermilionMart.asm
index 00ba0c26..88a632c8 100755
--- a/scripts/VermilionMart.asm
+++ b/scripts/VermilionMart.asm
@@ -7,9 +7,9 @@ VermilionMart_TextPointers:
dw VermilionMartText3
VermilionMartText2:
- TX_FAR _VermilionMartText2
- db "@"
+ text_far _VermilionMartText2
+ text_end
VermilionMartText3:
- TX_FAR _VermilionMartText3
- db "@"
+ text_far _VermilionMartText3
+ text_end
diff --git a/scripts/VermilionOldRodHouse.asm b/scripts/VermilionOldRodHouse.asm
index 772158ff..5305820d 100755
--- a/scripts/VermilionOldRodHouse.asm
+++ b/scripts/VermilionOldRodHouse.asm
@@ -5,7 +5,7 @@ VermilionOldRodHouse_TextPointers:
dw VermilionHouse2Text1
VermilionHouse2Text1:
- TX_ASM
+ text_asm
ld a, [wd728]
bit 3, a
jr nz, .asm_03ef5
@@ -35,23 +35,23 @@ VermilionHouse2Text1:
jp TextScriptEnd
VermilionHouse2Text_560b1:
- TX_FAR _VermilionHouse2Text_560b1
- db "@"
+ text_far _VermilionHouse2Text_560b1
+ text_end
VermilionHouse2Text_560b6:
- TX_FAR _VermilionHouse2Text_560b6
- TX_SFX_ITEM_1
- TX_FAR _VermilionHouse2Text_560bb
- db "@"
+ text_far _VermilionHouse2Text_560b6
+ sound_get_item_1
+ text_far _VermilionHouse2Text_560bb
+ text_end
VermilionHouse2Text_560c0:
- TX_FAR _VermilionHouse2Text_560c0
- db "@"
+ text_far _VermilionHouse2Text_560c0
+ text_end
VermilionHouse2Text_560c5:
- TX_FAR _VermilionHouse2Text_560c5
- db "@"
+ text_far _VermilionHouse2Text_560c5
+ text_end
VermilionHouse2Text_560ca:
- TX_FAR _VermilionHouse2Text_560ca
- db "@"
+ text_far _VermilionHouse2Text_560ca
+ text_end
diff --git a/scripts/VermilionPidgeyHouse.asm b/scripts/VermilionPidgeyHouse.asm
index 5004d367..fef476d5 100755
--- a/scripts/VermilionPidgeyHouse.asm
+++ b/scripts/VermilionPidgeyHouse.asm
@@ -8,17 +8,17 @@ VermilionPidgeyHouse_TextPointers:
dw VermilionHouse1Text3
VermilionHouse1Text1:
- TX_FAR _VermilionHouse1Text1
- db "@"
+ text_far _VermilionHouse1Text1
+ text_end
VermilionHouse1Text2:
- TX_FAR _VermilionHouse1Text2
- TX_ASM
+ text_far _VermilionHouse1Text2
+ text_asm
ld a, PIDGEY
call PlayCry
call WaitForSoundToFinish
jp TextScriptEnd
VermilionHouse1Text3:
- TX_FAR _VermilionHouse1Text3
- db "@"
+ text_far _VermilionHouse1Text3
+ text_end
diff --git a/scripts/VermilionPokecenter.asm b/scripts/VermilionPokecenter.asm
index 60b28c57..65b5a3df 100755
--- a/scripts/VermilionPokecenter.asm
+++ b/scripts/VermilionPokecenter.asm
@@ -9,15 +9,15 @@ VermilionPokecenter_TextPointers:
dw VermilionTradeNurseText
VermilionHealNurseText:
- TX_POKECENTER_NURSE
+ script_pokecenter_nurse
VermilionPokecenterText2:
- TX_FAR _VermilionPokecenterText2
- db "@"
+ text_far _VermilionPokecenterText2
+ text_end
VermilionPokecenterText3:
- TX_FAR _VermilionPokecenterText3
- db "@"
+ text_far _VermilionPokecenterText3
+ text_end
VermilionTradeNurseText:
- TX_CABLE_CLUB_RECEPTIONIST
+ script_cable_club_receptionist
diff --git a/scripts/VermilionTradeHouse.asm b/scripts/VermilionTradeHouse.asm
index 828e3716..368654d9 100755
--- a/scripts/VermilionTradeHouse.asm
+++ b/scripts/VermilionTradeHouse.asm
@@ -5,7 +5,7 @@ VermilionTradeHouse_TextPointers:
dw VermilionHouse3Text1
VermilionHouse3Text1:
- TX_ASM
+ text_asm
ld a, $4
ld [wWhichTrade], a
predef DoInGameTradeDialogue
diff --git a/scripts/VictoryRoad1F.asm b/scripts/VictoryRoad1F.asm
index 0a2588a7..afff8ca5 100755
--- a/scripts/VictoryRoad1F.asm
+++ b/scripts/VictoryRoad1F.asm
@@ -67,37 +67,37 @@ VictoryRoad1TrainerHeader1:
db $ff
VictoryRoad1Text1:
- TX_ASM
+ text_asm
ld hl, VictoryRoad1TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
VictoryRoad1Text2:
- TX_ASM
+ text_asm
ld hl, VictoryRoad1TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
VictoryRoad1BattleText1:
- TX_FAR _VictoryRoad1BattleText1
- db "@"
+ text_far _VictoryRoad1BattleText1
+ text_end
VictoryRoad1EndBattleText1:
- TX_FAR _VictoryRoad1EndBattleText1
- db "@"
+ text_far _VictoryRoad1EndBattleText1
+ text_end
VictoryRoad1AfterBattleText1:
- TX_FAR _VictoryRoad1AfterBattleText1
- db "@"
+ text_far _VictoryRoad1AfterBattleText1
+ text_end
VictoryRoad1BattleText2:
- TX_FAR _VictoryRoad1BattleText2
- db "@"
+ text_far _VictoryRoad1BattleText2
+ text_end
VictoryRoad1EndBattleText2:
- TX_FAR _VictoryRoad1EndBattleText2
- db "@"
+ text_far _VictoryRoad1EndBattleText2
+ text_end
VictoryRoad1AfterBattleText2:
- TX_FAR _VictoryRoad1AfterBattleText2
- db "@"
+ text_far _VictoryRoad1AfterBattleText2
+ text_end
diff --git a/scripts/VictoryRoad2F.asm b/scripts/VictoryRoad2F.asm
index 9dfb05ed..e4814f4e 100755
--- a/scripts/VictoryRoad2F.asm
+++ b/scripts/VictoryRoad2F.asm
@@ -140,105 +140,105 @@ MoltresTrainerHeader:
db $ff
VictoryRoad2Text1:
- TX_ASM
+ text_asm
ld hl, VictoryRoad2TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
VictoryRoad2Text2:
- TX_ASM
+ text_asm
ld hl, VictoryRoad2TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
VictoryRoad2Text3:
- TX_ASM
+ text_asm
ld hl, VictoryRoad2TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
VictoryRoad2Text4:
- TX_ASM
+ text_asm
ld hl, VictoryRoad2TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
VictoryRoad2Text5:
- TX_ASM
+ text_asm
ld hl, VictoryRoad2TrainerHeader4
call TalkToTrainer
jp TextScriptEnd
MoltresText:
- TX_ASM
+ text_asm
ld hl, MoltresTrainerHeader
call TalkToTrainer
jp TextScriptEnd
MoltresBattleText:
- TX_FAR _MoltresBattleText
- TX_ASM
+ text_far _MoltresBattleText
+ text_asm
ld a, MOLTRES
call PlayCry
call WaitForSoundToFinish
jp TextScriptEnd
VictoryRoad2BattleText1:
- TX_FAR _VictoryRoad2BattleText1
- db "@"
+ text_far _VictoryRoad2BattleText1
+ text_end
VictoryRoad2EndBattleText1:
- TX_FAR _VictoryRoad2EndBattleText1
- db "@"
+ text_far _VictoryRoad2EndBattleText1
+ text_end
VictoryRoad2AfterBattleText1:
- TX_FAR _VictoryRoad2AfterBattleText1
- db "@"
+ text_far _VictoryRoad2AfterBattleText1
+ text_end
VictoryRoad2BattleText2:
- TX_FAR _VictoryRoad2BattleText2
- db "@"
+ text_far _VictoryRoad2BattleText2
+ text_end
VictoryRoad2EndBattleText2:
- TX_FAR _VictoryRoad2EndBattleText2
- db "@"
+ text_far _VictoryRoad2EndBattleText2
+ text_end
VictoryRoad2AfterBattleText2:
- TX_FAR _VictoryRoad2AfterBattleText2
- db "@"
+ text_far _VictoryRoad2AfterBattleText2
+ text_end
VictoryRoad2BattleText3:
- TX_FAR _VictoryRoad2BattleText3
- db "@"
+ text_far _VictoryRoad2BattleText3
+ text_end
VictoryRoad2EndBattleText3:
- TX_FAR _VictoryRoad2EndBattleText3
- db "@"
+ text_far _VictoryRoad2EndBattleText3
+ text_end
VictoryRoad2AfterBattleText3:
- TX_FAR _VictoryRoad2AfterBattleText3
- db "@"
+ text_far _VictoryRoad2AfterBattleText3
+ text_end
VictoryRoad2BattleText4:
- TX_FAR _VictoryRoad2BattleText4
- db "@"
+ text_far _VictoryRoad2BattleText4
+ text_end
VictoryRoad2EndBattleText4:
- TX_FAR _VictoryRoad2EndBattleText4
- db "@"
+ text_far _VictoryRoad2EndBattleText4
+ text_end
VictoryRoad2AfterBattleText4:
- TX_FAR _VictoryRoad2AfterBattleText4
- db "@"
+ text_far _VictoryRoad2AfterBattleText4
+ text_end
VictoryRoad2BattleText5:
- TX_FAR _VictoryRoad2BattleText5
- db "@"
+ text_far _VictoryRoad2BattleText5
+ text_end
VictoryRoad2EndBattleText5:
- TX_FAR _VictoryRoad2EndBattleText5
- db "@"
+ text_far _VictoryRoad2EndBattleText5
+ text_end
VictoryRoad2AfterBattleText5:
- TX_FAR _VictoryRoad2AfterBattleText5
- db "@"
+ text_far _VictoryRoad2AfterBattleText5
+ text_end
diff --git a/scripts/VictoryRoad3F.asm b/scripts/VictoryRoad3F.asm
index d145c4a1..7ca6dbcb 100755
--- a/scripts/VictoryRoad3F.asm
+++ b/scripts/VictoryRoad3F.asm
@@ -125,73 +125,73 @@ VictoryRoad3TrainerHeader3:
db $ff
VictoryRoad3Text1:
- TX_ASM
+ text_asm
ld hl, VictoryRoad3TrainerHeader0
call TalkToTrainer
jp TextScriptEnd
VictoryRoad3Text2:
- TX_ASM
+ text_asm
ld hl, VictoryRoad3TrainerHeader1
call TalkToTrainer
jp TextScriptEnd
VictoryRoad3Text3:
- TX_ASM
+ text_asm
ld hl, VictoryRoad3TrainerHeader2
call TalkToTrainer
jp TextScriptEnd
VictoryRoad3Text4:
- TX_ASM
+ text_asm
ld hl, VictoryRoad3TrainerHeader3
call TalkToTrainer
jp TextScriptEnd
VictoryRoad3BattleText2:
- TX_FAR _VictoryRoad3BattleText2
- db "@"
+ text_far _VictoryRoad3BattleText2
+ text_end
VictoryRoad3EndBattleText2:
- TX_FAR _VictoryRoad3EndBattleText2
- db "@"
+ text_far _VictoryRoad3EndBattleText2
+ text_end
VictoryRoad3AfterBattleText2:
- TX_FAR _VictoryRoad3AfterBattleText2
- db "@"
+ text_far _VictoryRoad3AfterBattleText2
+ text_end
VictoryRoad3BattleText3:
- TX_FAR _VictoryRoad3BattleText3
- db "@"
+ text_far _VictoryRoad3BattleText3
+ text_end
VictoryRoad3EndBattleText3:
- TX_FAR _VictoryRoad3EndBattleText3
- db "@"
+ text_far _VictoryRoad3EndBattleText3
+ text_end
VictoryRoad3AfterBattleText3:
- TX_FAR _VictoryRoad3AfterBattleText3
- db "@"
+ text_far _VictoryRoad3AfterBattleText3
+ text_end
VictoryRoad3BattleText4:
- TX_FAR _VictoryRoad3BattleText4
- db "@"
+ text_far _VictoryRoad3BattleText4
+ text_end
VictoryRoad3EndBattleText4:
- TX_FAR _VictoryRoad3EndBattleText4
- db "@"
+ text_far _VictoryRoad3EndBattleText4
+ text_end
VictoryRoad3AfterBattleText4:
- TX_FAR _VictoryRoad3AfterBattleText4
- db "@"
+ text_far _VictoryRoad3AfterBattleText4
+ text_end
VictoryRoad3BattleText5:
- TX_FAR _VictoryRoad3BattleText5
- db "@"
+ text_far _VictoryRoad3BattleText5
+ text_end
VictoryRoad3EndBattleText5:
- TX_FAR _VictoryRoad3EndBattleText5
- db "@"
+ text_far _VictoryRoad3EndBattleText5
+ text_end
VictoryRoad3AfterBattleText5:
- TX_FAR _VictoryRoad3AfterBattleText5
- db "@"
+ text_far _VictoryRoad3AfterBattleText5
+ text_end
diff --git a/scripts/ViridianCity.asm b/scripts/ViridianCity.asm
index c3eb9a79..7c4d9c97 100755
--- a/scripts/ViridianCity.asm
+++ b/scripts/ViridianCity.asm
@@ -142,11 +142,11 @@ ViridianCity_TextPointers:
dw ViridianCityText15
ViridianCityText1:
- TX_FAR _ViridianCityText1
- db "@"
+ text_far _ViridianCityText1
+ text_end
ViridianCityText2:
- TX_ASM
+ text_asm
ld a, [wObtainedBadges]
cp %01111111
ld hl, ViridianCityText_19127
@@ -159,15 +159,15 @@ ViridianCityText2:
jp TextScriptEnd
ViridianCityText_19122:
- TX_FAR _ViridianCityText_19122
- db "@"
+ text_far _ViridianCityText_19122
+ text_end
ViridianCityText_19127:
- TX_FAR _ViridianCityText_19127
- db "@"
+ text_far _ViridianCityText_19127
+ text_end
ViridianCityText3:
- TX_ASM
+ text_asm
ld hl, ViridianCityText_1914d
call PrintText
call YesNoChoice
@@ -184,19 +184,19 @@ ViridianCityText3:
jp TextScriptEnd
ViridianCityText_1914d:
- TX_FAR _ViridianCityText_1914d
- db "@"
+ text_far _ViridianCityText_1914d
+ text_end
ViridianCityText_19152:
- TX_FAR _ViridianCityText_19152
- db "@"
+ text_far _ViridianCityText_19152
+ text_end
ViridianCityText_19157:
- TX_FAR _ViridianCityText_19157
- db "@"
+ text_far _ViridianCityText_19157
+ text_end
ViridianCityText4:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_POKEDEX
jr nz, .gotPokedex
ld hl, ViridianCityText_19175
@@ -209,15 +209,15 @@ ViridianCityText4:
jp TextScriptEnd
ViridianCityText_19175:
- TX_FAR _ViridianCityText_19175
- db "@"
+ text_far _ViridianCityText_19175
+ text_end
ViridianCityText_1917a:
- TX_FAR _ViridianCityText_1917a
- db "@"
+ text_far _ViridianCityText_1917a
+ text_end
ViridianCityText5:
- TX_ASM
+ text_asm
ld hl, ViridianCityText_19191
call PrintText
call ViridianCityScript_190cf
@@ -226,11 +226,11 @@ ViridianCityText5:
jp TextScriptEnd
ViridianCityText_19191:
- TX_FAR _ViridianCityText_19191
- db "@"
+ text_far _ViridianCityText_19191
+ text_end
ViridianCityText6:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_TM42
jr nz, .gotTm42
ld hl, ViridianCityText_191ca
@@ -253,24 +253,24 @@ ViridianCityText6:
jp TextScriptEnd
ViridianCityText_191ca:
- TX_FAR _ViridianCityText_191ca
- db "@"
+ text_far _ViridianCityText_191ca
+ text_end
ReceivedTM42Text:
- TX_FAR _ReceivedTM42Text
- TX_SFX_ITEM_2
- db "@"
+ text_far _ReceivedTM42Text
+ sound_get_item_2
+ text_end
TM42Explanation:
- TX_FAR _TM42Explanation
- db "@"
+ text_far _TM42Explanation
+ text_end
TM42NoRoomText:
- TX_FAR _TM42NoRoomText
- db "@"
+ text_far _TM42NoRoomText
+ text_end
ViridianCityText7:
- TX_ASM
+ text_asm
ld hl, ViridianCityText_1920a
call PrintText
ld c, 2
@@ -291,37 +291,37 @@ ViridianCityText7:
jp TextScriptEnd
ViridianCityText_1920a:
- TX_FAR _ViridianCityText_1920a
- db "@"
+ text_far _ViridianCityText_1920a
+ text_end
ViridianCityText_1920f:
- TX_FAR _ViridianCityText_1920f
- db "@"
+ text_far _ViridianCityText_1920f
+ text_end
ViridianCityText_19214:
- TX_FAR _ViridianCityText_19214
- db "@"
+ text_far _ViridianCityText_19214
+ text_end
ViridianCityText15:
- TX_FAR _ViridianCityText_19219
- db "@"
+ text_far _ViridianCityText_19219
+ text_end
ViridianCityText8:
- TX_FAR _ViridianCityText8
- db "@"
+ text_far _ViridianCityText8
+ text_end
ViridianCityText9:
- TX_FAR _ViridianCityText9
- db "@"
+ text_far _ViridianCityText9
+ text_end
ViridianCityText10:
- TX_FAR _ViridianCityText10
- db "@"
+ text_far _ViridianCityText10
+ text_end
ViridianCityText13:
- TX_FAR _ViridianCityText13
- db "@"
+ text_far _ViridianCityText13
+ text_end
ViridianCityText14:
- TX_FAR _ViridianCityText14
- db "@"
+ text_far _ViridianCityText14
+ text_end
diff --git a/scripts/ViridianForest.asm b/scripts/ViridianForest.asm
index acd26b8a..0bbbbd59 100755
--- a/scripts/ViridianForest.asm
+++ b/scripts/ViridianForest.asm
@@ -58,87 +58,87 @@ ViridianForestTrainerHeader2:
db $ff
ViridianForestText1:
- TX_FAR _ViridianForestText1
- db "@"
+ text_far _ViridianForestText1
+ text_end
ViridianForestText2:
- TX_ASM
+ text_asm
ld hl, ViridianForestTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
ViridianForestText3:
- TX_ASM
+ text_asm
ld hl, ViridianForestTrainerHeader1
call TalkToTrainer
jp TextScriptEnd
ViridianForestText4:
- TX_ASM
+ text_asm
ld hl, ViridianForestTrainerHeader2
call TalkToTrainer
jp TextScriptEnd
ViridianForestBattleText1:
- TX_FAR _ViridianForestBattleText1
- db "@"
+ text_far _ViridianForestBattleText1
+ text_end
ViridianForestEndBattleText1:
- TX_FAR _ViridianForestEndBattleText1
- db "@"
+ text_far _ViridianForestEndBattleText1
+ text_end
ViridianForestAfterBattleText1:
- TX_FAR _ViridianFrstAfterBattleText1
- db "@"
+ text_far _ViridianFrstAfterBattleText1
+ text_end
ViridianForestBattleText2:
- TX_FAR _ViridianForestBattleText2
- db "@"
+ text_far _ViridianForestBattleText2
+ text_end
ViridianForestEndBattleText2:
- TX_FAR _ViridianForestEndBattleText2
- db "@"
+ text_far _ViridianForestEndBattleText2
+ text_end
ViridianForestAfterBattleText2:
- TX_FAR _ViridianFrstAfterBattleText2
- db "@"
+ text_far _ViridianFrstAfterBattleText2
+ text_end
ViridianForestBattleText3:
- TX_FAR _ViridianForestBattleText3
- db "@"
+ text_far _ViridianForestBattleText3
+ text_end
ViridianForestEndBattleText3:
- TX_FAR _ViridianForestEndBattleText3
- db "@"
+ text_far _ViridianForestEndBattleText3
+ text_end
ViridianForestAfterBattleText3:
- TX_FAR _ViridianFrstAfterBattleText3
- db "@"
+ text_far _ViridianFrstAfterBattleText3
+ text_end
ViridianForestText8:
- TX_FAR _ViridianForestText8
- db "@"
+ text_far _ViridianForestText8
+ text_end
ViridianForestText9:
- TX_FAR _ViridianForestText9
- db "@"
+ text_far _ViridianForestText9
+ text_end
ViridianForestText10:
- TX_FAR _ViridianForestText10
- db "@"
+ text_far _ViridianForestText10
+ text_end
ViridianForestText11:
- TX_FAR _ViridianForestText11
- db "@"
+ text_far _ViridianForestText11
+ text_end
ViridianForestText12:
- TX_FAR _ViridianForestText12
- db "@"
+ text_far _ViridianForestText12
+ text_end
ViridianForestText13:
- TX_FAR _ViridianForestText13
- db "@"
+ text_far _ViridianForestText13
+ text_end
ViridianForestText14:
- TX_FAR _ViridianForestText14
- db "@"
+ text_far _ViridianForestText14
+ text_end
diff --git a/scripts/ViridianForestNorthGate.asm b/scripts/ViridianForestNorthGate.asm
index e421bf5b..6aef26d3 100755
--- a/scripts/ViridianForestNorthGate.asm
+++ b/scripts/ViridianForestNorthGate.asm
@@ -6,9 +6,9 @@ ViridianForestNorthGate_TextPointers:
dw ViridianForestExitText2
ViridianForestExitText1:
- TX_FAR _ViridianForestExitText1
- db "@"
+ text_far _ViridianForestExitText1
+ text_end
ViridianForestExitText2:
- TX_FAR _ViridianForestExitText2
- db "@"
+ text_far _ViridianForestExitText2
+ text_end
diff --git a/scripts/ViridianForestSouthGate.asm b/scripts/ViridianForestSouthGate.asm
index 397f0eca..996ac2ae 100755
--- a/scripts/ViridianForestSouthGate.asm
+++ b/scripts/ViridianForestSouthGate.asm
@@ -6,9 +6,9 @@ ViridianForestSouthGate_TextPointers:
dw ViridianForestEntranceText2
ViridianForestEntranceText1:
- TX_FAR _ViridianForestEntranceText1
- db "@"
+ text_far _ViridianForestEntranceText1
+ text_end
ViridianForestEntranceText2:
- TX_FAR _ViridianForestEntranceText2
- db "@"
+ text_far _ViridianForestEntranceText2
+ text_end
diff --git a/scripts/ViridianGym.asm b/scripts/ViridianGym.asm
index 40e6a57f..77ef4491 100755
--- a/scripts/ViridianGym.asm
+++ b/scripts/ViridianGym.asm
@@ -259,7 +259,7 @@ ViridianGymTrainerHeader7:
db $ff
ViridianGymText1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_VIRIDIAN_GYM_GIOVANNI
jr z, .beginBattle
CheckEventReuseA EVENT_GOT_TM27
@@ -301,181 +301,181 @@ ViridianGymText1:
jp TextScriptEnd
ViridianGymText_74ace:
- TX_FAR _ViridianGymText_74ace
- db "@"
+ text_far _ViridianGymText_74ace
+ text_end
ViridianGymText_74ad3:
- TX_FAR _ViridianGymText_74ad3
- TX_SFX_LEVEL_UP ; probably supposed to play SFX_GET_ITEM_1 but the wrong music bank is loaded
- db "@"
+ text_far _ViridianGymText_74ad3
+ sound_level_up ; probably supposed to play SFX_GET_ITEM_1 but the wrong music bank is loaded
+ text_end
ViridianGymText_74ad9:
- TX_FAR _ViridianGymText_74ad9
- TX_WAIT
- db "@"
+ text_far _ViridianGymText_74ad9
+ text_linkpromptbutton
+ text_end
ViridianGymText12:
- TX_FAR _ViridianGymText12
- db "@"
+ text_far _ViridianGymText12
+ text_end
ViridianGymText13:
- TX_FAR _ReceivedTM27Text
- TX_SFX_ITEM_1
+ text_far _ReceivedTM27Text
+ sound_get_item_1
TM27ExplanationText:
- TX_FAR _TM27ExplanationText
- db "@"
+ text_far _TM27ExplanationText
+ text_end
ViridianGymText14:
- TX_FAR _TM27NoRoomText
- db "@"
+ text_far _TM27NoRoomText
+ text_end
ViridianGymText2:
- TX_ASM
+ text_asm
ld hl, ViridianGymTrainerHeader0
call TalkToTrainer
jp TextScriptEnd
ViridianGymBattleText1:
- TX_FAR _ViridianGymBattleText1
- db "@"
+ text_far _ViridianGymBattleText1
+ text_end
ViridianGymEndBattleText1:
- TX_FAR _ViridianGymEndBattleText1
- db "@"
+ text_far _ViridianGymEndBattleText1
+ text_end
ViridianGymAfterBattleText1:
- TX_FAR _ViridianGymAfterBattleText1
- db "@"
+ text_far _ViridianGymAfterBattleText1
+ text_end
ViridianGymText3:
- TX_ASM
+ text_asm
ld hl, ViridianGymTrainerHeader1
call TalkToTrainer
jp TextScriptEnd
ViridianGymBattleText2:
- TX_FAR _ViridianGymBattleText2
- db "@"
+ text_far _ViridianGymBattleText2
+ text_end
ViridianGymEndBattleText2:
- TX_FAR _ViridianGymEndBattleText2
- db "@"
+ text_far _ViridianGymEndBattleText2
+ text_end
ViridianGymAfterBattleText2:
- TX_FAR _ViridianGymAfterBattleText2
- db "@"
+ text_far _ViridianGymAfterBattleText2
+ text_end
ViridianGymText4:
- TX_ASM
+ text_asm
ld hl, ViridianGymTrainerHeader2
call TalkToTrainer
jp TextScriptEnd
ViridianGymBattleText3:
- TX_FAR _ViridianGymBattleText3
- db "@"
+ text_far _ViridianGymBattleText3
+ text_end
ViridianGymEndBattleText3:
- TX_FAR _ViridianGymEndBattleText3
- db "@"
+ text_far _ViridianGymEndBattleText3
+ text_end
ViridianGymAfterBattleText3:
- TX_FAR _ViridianGymAfterBattleText3
- db "@"
+ text_far _ViridianGymAfterBattleText3
+ text_end
ViridianGymText5:
- TX_ASM
+ text_asm
ld hl, ViridianGymTrainerHeader3
call TalkToTrainer
jp TextScriptEnd
ViridianGymBattleText4:
- TX_FAR _ViridianGymBattleText4
- db "@"
+ text_far _ViridianGymBattleText4
+ text_end
ViridianGymEndBattleText4:
- TX_FAR _ViridianGymEndBattleText4
- db "@"
+ text_far _ViridianGymEndBattleText4
+ text_end
ViridianGymAfterBattleText4:
- TX_FAR _ViridianGymAfterBattleText4
- db "@"
+ text_far _ViridianGymAfterBattleText4
+ text_end
ViridianGymText6:
- TX_ASM
+ text_asm
ld hl, ViridianGymTrainerHeader4
call TalkToTrainer
jp TextScriptEnd
ViridianGymBattleText5:
- TX_FAR _ViridianGymBattleText5
- db "@"
+ text_far _ViridianGymBattleText5
+ text_end
ViridianGymEndBattleText5:
- TX_FAR _ViridianGymEndBattleText5
- db "@"
+ text_far _ViridianGymEndBattleText5
+ text_end
ViridianGymAfterBattleText5:
- TX_FAR _ViridianGymAfterBattleText5
- db "@"
+ text_far _ViridianGymAfterBattleText5
+ text_end
ViridianGymText7:
- TX_ASM
+ text_asm
ld hl, ViridianGymTrainerHeader5
call TalkToTrainer
jp TextScriptEnd
ViridianGymBattleText6:
- TX_FAR _ViridianGymBattleText6
- db "@"
+ text_far _ViridianGymBattleText6
+ text_end
ViridianGymEndBattleText6:
- TX_FAR _ViridianGymEndBattleText6
- db "@"
+ text_far _ViridianGymEndBattleText6
+ text_end
ViridianGymAfterBattleText6:
- TX_FAR _ViridianGymAfterBattleText6
- db "@"
+ text_far _ViridianGymAfterBattleText6
+ text_end
ViridianGymText8:
- TX_ASM
+ text_asm
ld hl, ViridianGymTrainerHeader6
call TalkToTrainer
jp TextScriptEnd
ViridianGymBattleText7:
- TX_FAR _ViridianGymBattleText7
- db "@"
+ text_far _ViridianGymBattleText7
+ text_end
ViridianGymEndBattleText7:
- TX_FAR _ViridianGymEndBattleText7
- db "@"
+ text_far _ViridianGymEndBattleText7
+ text_end
ViridianGymAfterBattleText7:
- TX_FAR _ViridianGymAfterBattleText7
- db "@"
+ text_far _ViridianGymAfterBattleText7
+ text_end
ViridianGymText9:
- TX_ASM
+ text_asm
ld hl, ViridianGymTrainerHeader7
call TalkToTrainer
jp TextScriptEnd
ViridianGymBattleText8:
- TX_FAR _ViridianGymBattleText8
- db "@"
+ text_far _ViridianGymBattleText8
+ text_end
ViridianGymEndBattleText8:
- TX_FAR _ViridianGymEndBattleText8
- db "@"
+ text_far _ViridianGymEndBattleText8
+ text_end
ViridianGymAfterBattleText8:
- TX_FAR _ViridianGymAfterBattleText8
- db "@"
+ text_far _ViridianGymAfterBattleText8
+ text_end
ViridianGymText10:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_VIRIDIAN_GYM_GIOVANNI
jr nz, .asm_1abd1
ld hl, ViridianGymText_74bd4
@@ -488,9 +488,9 @@ ViridianGymText10:
jp TextScriptEnd
ViridianGymText_74bd4:
- TX_FAR _ViridianGymText_74bd4
- db "@"
+ text_far _ViridianGymText_74bd4
+ text_end
ViridianGymText_74bd9:
- TX_FAR _ViridianGymText_74bd9
- db "@"
+ text_far _ViridianGymText_74bd9
+ text_end
diff --git a/scripts/ViridianMart.asm b/scripts/ViridianMart.asm
index b90d331c..09ddfda9 100755
--- a/scripts/ViridianMart.asm
+++ b/scripts/ViridianMart.asm
@@ -73,22 +73,22 @@ ViridianMart_TextPointers2:
dw ViridianMartText3
ViridianMartText1:
- TX_FAR _ViridianMartText1
- db "@"
+ text_far _ViridianMartText1
+ text_end
ViridianMartText4:
- TX_FAR _ViridianMartText4
- db "@"
+ text_far _ViridianMartText4
+ text_end
ViridianMartText5:
- TX_FAR ViridianMartParcelQuestText
- TX_SFX_KEY_ITEM
- db "@"
+ text_far ViridianMartParcelQuestText
+ sound_get_key_item
+ text_end
ViridianMartText2:
- TX_FAR _ViridianMartText2
- db "@"
+ text_far _ViridianMartText2
+ text_end
ViridianMartText3:
- TX_FAR _ViridianMartText3
- db "@"
+ text_far _ViridianMartText3
+ text_end
diff --git a/scripts/ViridianNicknameHouse.asm b/scripts/ViridianNicknameHouse.asm
index 000fe82b..df7482c2 100755
--- a/scripts/ViridianNicknameHouse.asm
+++ b/scripts/ViridianNicknameHouse.asm
@@ -8,15 +8,15 @@ ViridianNicknameHouse_TextPointers:
dw ViridianHouseText4
ViridianHouseText1:
- TX_FAR _ViridianHouseText1
- db "@"
+ text_far _ViridianHouseText1
+ text_end
ViridianHouseText2:
- TX_FAR _ViridianHouseText2
- db "@"
+ text_far _ViridianHouseText2
+ text_end
ViridianHouseText3:
- TX_ASM
+ text_asm
ld hl, ViridianHouseText_1d5b1
call PrintText
ld a, SPEAROW
@@ -25,9 +25,9 @@ ViridianHouseText3:
jp TextScriptEnd
ViridianHouseText_1d5b1:
- TX_FAR _ViridianHouseText_1d5b1
- db "@"
+ text_far _ViridianHouseText_1d5b1
+ text_end
ViridianHouseText4:
- TX_FAR _ViridianHouseText4
- db "@"
+ text_far _ViridianHouseText4
+ text_end
diff --git a/scripts/ViridianPokecenter.asm b/scripts/ViridianPokecenter.asm
index 14c25b9f..08577678 100755
--- a/scripts/ViridianPokecenter.asm
+++ b/scripts/ViridianPokecenter.asm
@@ -9,15 +9,15 @@ ViridianPokecenter_TextPointers:
dw ViridianTradeNurseText
ViridianHealNurseText:
- TX_POKECENTER_NURSE
+ script_pokecenter_nurse
ViridianPokeCenterText2:
- TX_FAR _ViridianPokeCenterText2
- db "@"
+ text_far _ViridianPokeCenterText2
+ text_end
ViridianPokeCenterText3:
- TX_FAR _ViridianPokeCenterText3
- db "@"
+ text_far _ViridianPokeCenterText3
+ text_end
ViridianTradeNurseText:
- TX_CABLE_CLUB_RECEPTIONIST
+ script_cable_club_receptionist
diff --git a/scripts/ViridianSchoolHouse.asm b/scripts/ViridianSchoolHouse.asm
index 2d9579b7..731e2dac 100755
--- a/scripts/ViridianSchoolHouse.asm
+++ b/scripts/ViridianSchoolHouse.asm
@@ -6,9 +6,9 @@ ViridianSchoolHouse_TextPointers:
dw SchoolText2
SchoolText1:
- TX_FAR _SchoolText1
- db "@"
+ text_far _SchoolText1
+ text_end
SchoolText2:
- TX_FAR _SchoolText2
- db "@"
+ text_far _SchoolText2
+ text_end
diff --git a/scripts/WardensHouse.asm b/scripts/WardensHouse.asm
index 015d137f..ef1bbb75 100755
--- a/scripts/WardensHouse.asm
+++ b/scripts/WardensHouse.asm
@@ -9,7 +9,7 @@ WardensHouse_TextPointers:
dw FuchsiaHouse2Text5
FuchsiaHouse2Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_GOT_HM04
jr nz, .subtract
ld b, GOLD_TEETH
@@ -56,45 +56,45 @@ FuchsiaHouse2Text1:
jp TextScriptEnd
WardenGibberishText1:
- TX_FAR _WardenGibberishText1
- db "@"
+ text_far _WardenGibberishText1
+ text_end
WardenGibberishText2:
- TX_FAR _WardenGibberishText2
- db "@"
+ text_far _WardenGibberishText2
+ text_end
WardenGibberishText3:
- TX_FAR _WardenGibberishText3
- db "@"
+ text_far _WardenGibberishText3
+ text_end
WardenTeethText1:
- TX_FAR _WardenTeethText1
- TX_SFX_ITEM_1
+ text_far _WardenTeethText1
+ sound_get_item_1
WardenTeethText2:
- TX_FAR _WardenTeethText2
- db "@"
+ text_far _WardenTeethText2
+ text_end
WardenThankYouText:
- TX_FAR _WardenThankYouText
- db "@"
+ text_far _WardenThankYouText
+ text_end
ReceivedHM04Text:
- TX_FAR _ReceivedHM04Text
- TX_SFX_ITEM_1
- db "@"
+ text_far _ReceivedHM04Text
+ sound_get_item_1
+ text_end
HM04ExplanationText:
- TX_FAR _HM04ExplanationText
- db "@"
+ text_far _HM04ExplanationText
+ text_end
HM04NoRoomText:
- TX_FAR _HM04NoRoomText
- db "@"
+ text_far _HM04NoRoomText
+ text_end
FuchsiaHouse2Text5:
FuchsiaHouse2Text4:
- TX_ASM
+ text_asm
ld a, [hSpriteIndex]
cp $4
ld hl, FuchsiaHouse2Text_7517b
@@ -105,9 +105,9 @@ FuchsiaHouse2Text4:
jp TextScriptEnd
FuchsiaHouse2Text_75176:
- TX_FAR _FuchsiaHouse2Text_75176
- db "@"
+ text_far _FuchsiaHouse2Text_75176
+ text_end
FuchsiaHouse2Text_7517b:
- TX_FAR _FuchsiaHouse2Text_7517b
- db "@"
+ text_far _FuchsiaHouse2Text_7517b
+ text_end