summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-01-26 02:16:26 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-01-26 02:16:26 -0500
commit0064333e4aa1bacb42f840ba67d38a9aced8816e (patch)
tree11a987d251f67701fd6c0302f0e914612fac2135 /data
parent8fe4d004e369ee8378f4295b0e3926fbe9df7627 (diff)
Clean up scrcmd.c
Diffstat (limited to 'data')
-rw-r--r--data/maps/LilycoveCity_ContestLobby/scripts.inc4
-rw-r--r--data/script_cmd_table.inc4
-rw-r--r--data/scripts/trainer_battle.inc2
-rw-r--r--data/text/braille.inc154
4 files changed, 27 insertions, 137 deletions
diff --git a/data/maps/LilycoveCity_ContestLobby/scripts.inc b/data/maps/LilycoveCity_ContestLobby/scripts.inc
index 51c38e3f4..3a3b3d86b 100644
--- a/data/maps/LilycoveCity_ContestLobby/scripts.inc
+++ b/data/maps/LilycoveCity_ContestLobby/scripts.inc
@@ -783,7 +783,7 @@ LilycoveCity_ContestLobby_EventScript_TrySetUpLinkContest:: @ 821AA15
goto_if_eq LilycoveCity_ContestLobby_EventScript_CancelLinkError
compare VAR_RESULT, LINKUP_FAILED_CONTEST_GMODE
goto_if_eq LilycoveCity_ContestLobby_EventScript_CancelLinkModeDifference
- message3 LilycoveCity_ContestLobby_Text_Transmitting
+ messageinstant LilycoveCity_ContestLobby_Text_Transmitting
contestlinktransfer
switch VAR_0x8004
case 0, LilycoveCity_ContestLobby_EventScript_StartLinkContest
@@ -926,7 +926,7 @@ LilycoveCity_ContestLobby_EventScript_TryJoinLinkGroup:: @ 821AC38
return
LilycoveCity_ContestLobby_EventScript_LinkLeaderDecided:: @ 821AC3D
- message3 LilycoveCity_ContestLobby_Text_Transmitting
+ messageinstant LilycoveCity_ContestLobby_Text_Transmitting
contestlinktransfer
goto LilycoveCity_ContestLobby_EventScript_StartLinkContest
end
diff --git a/data/script_cmd_table.inc b/data/script_cmd_table.inc
index 7edb5c4b7..f4da025d1 100644
--- a/data/script_cmd_table.inc
+++ b/data/script_cmd_table.inc
@@ -216,10 +216,10 @@ gScriptCmdTable:: @ 81DB67C
.4byte ScrCmd_initrotatingtilepuzzle @ 0xd5
.4byte ScrCmd_freerotatingtilepuzzle @ 0xd6
.4byte ScrCmd_warpmossdeepgym @ 0xd7
- .4byte ScrCmd_cmdD8 @ 0xd8
+ .4byte ScrCmd_selectapproachingtrainer @ 0xd8
.4byte ScrCmd_cmdD9 @ 0xd9
.4byte ScrCmd_closebraillemessage @ 0xda
- .4byte ScrCmd_cmdDB @ 0xdb
+ .4byte ScrCmd_messageinstant @ 0xdb
.4byte ScrCmd_fadescreenswapbuffers @ 0xdc
.4byte ScrCmd_buffertrainerclassname @ 0xdd
.4byte ScrCmd_buffertrainername @ 0xde
diff --git a/data/scripts/trainer_battle.inc b/data/scripts/trainer_battle.inc
index aa96e7b35..5c77d80b5 100644
--- a/data/scripts/trainer_battle.inc
+++ b/data/scripts/trainer_battle.inc
@@ -1,5 +1,5 @@
EventScript_271354:: @ 8271354
- cmdD8
+ selectapproachingtrainer
cmdD9
EventScript_ShowSecondTrainerIntro:: @ 8271356
diff --git a/data/text/braille.inc b/data/text/braille.inc
index 30f9b44d4..57b77e393 100644
--- a/data/text/braille.inc
+++ b/data/text/braille.inc
@@ -1,222 +1,112 @@
Underwater_SealedChamber_Braille_GoUpHere: @ 82A6B15
- .byte 4
- .byte 6
- .byte 26
- .byte 13
- .byte 7
- .byte 9
+ brailleformat 4, 6, 26, 13, 7, 9
.braille "GO UP HERE.$"
SealedChamber_OuterRoom_Braille_ABC: @ 82A6B27
- .byte 7
- .byte 6
- .byte 21
- .byte 13
- .byte 10
- .byte 9
+ brailleformat 7, 6, 21, 13, 10, 9
.braille "ABC$"
SealedChamber_OuterRoom_Braille_GHI: @ 82A6B31
- .byte 7
- .byte 6
- .byte 21
- .byte 13
- .byte 10
- .byte 9
+ brailleformat 7, 6, 21, 13, 10, 9
.braille "GHI$"
SealedChamber_OuterRoom_Braille_MNO: @ 82A6B3B
- .byte 7
- .byte 6
- .byte 21
- .byte 13
- .byte 10
- .byte 9
+ brailleformat 7, 6, 21, 13, 10, 9
.braille "MNO$"
SealedChamber_OuterRoom_Braille_TUV: @ 82A6B45
- .byte 7
- .byte 6
- .byte 21
- .byte 13
- .byte 10
- .byte 9
+ brailleformat 7, 6, 21, 13, 10, 9
.braille "TUV$"
SealedChamber_OuterRoom_Braille_DEF: @ 82A6B4F
- .byte 7
- .byte 6
- .byte 21
- .byte 13
- .byte 10
- .byte 9
+ brailleformat 7, 6, 21, 13, 10, 9
.braille "DEF$"
SealedChamber_OuterRoom_Braille_JKL: @ 82A6B59
- .byte 7
- .byte 6
- .byte 21
- .byte 13
- .byte 10
- .byte 9
+ brailleformat 7, 6, 21, 13, 10, 9
.braille "JKL$"
SealedChamber_OuterRoom_Braille_PQRS: @ 82A6B63
- .byte 7
- .byte 6
- .byte 21
- .byte 13
- .byte 10
- .byte 9
+ brailleformat 7, 6, 21, 13, 10, 9
.braille "PQRS$"
SealedChamber_OuterRoom_Braille_Period: @ 82A6B6E
- .byte 9
- .byte 6
- .byte 19
- .byte 13
- .byte 12
- .byte 9
+ brailleformat 9, 6, 19, 13, 12, 9
.braille ".$"
SealedChamber_OuterRoom_Braille_WXYZ: @ 82A6B76
- .byte 7
- .byte 6
- .byte 21
- .byte 13
- .byte 10
- .byte 9
+ brailleformat 7, 6, 21, 13, 10, 9
.braille "WXYZ$"
SealedChamber_OuterRoom_Braille_Comma: @ 82A6B81
- .byte 9
- .byte 6
- .byte 19
- .byte 13
- .byte 12
- .byte 9
+ brailleformat 9, 6, 19, 13, 12, 9
.braille ",$"
SealedChamber_OuterRoom_Braille_DigHere: @ 82A6B89
- .byte 7
- .byte 4
- .byte 23
- .byte 15
- .byte 10
- .byte 7
+ brailleformat 7, 4, 23, 15, 10, 7
.braille "DIG HERE.$"
SealedChamber_InnerRoom_Braille_FirstWailordLastRelicanth: @ 82A6B99
- .byte 0
- .byte 0
- .byte 29
- .byte 19
- .byte 3
- .byte 3
+ brailleformat 0, 0, 29, 19, 3, 3
.braille "FIRST COMES\n"
.braille "WAILORD.\n"
.braille "LAST COMES\n"
.braille "RELICANTH.$"
SealedChamber_InnerRoom_Braille_InThisCaveWeHaveLived: @ 82A6BCA
- .byte 2
- .byte 0
- .byte 26
- .byte 19
- .byte 5
- .byte 3
+ brailleformat 2, 0, 26, 19, 5, 3
.braille "IN THIS\n"
.braille "CAVE WE\n"
.braille "HAVE\n"
.braille "LIVED.$"
SealedChamber_InnerRoom_Braille_WeOweAllToThePokemon: @ 82A6BEC
- .byte 7
- .byte 2
- .byte 23
- .byte 17
- .byte 10
- .byte 5
+ brailleformat 7, 2, 23, 17, 10, 5
.braille "WE OWE ALL\n"
.braille "TO THE\n"
.braille "POKEMON.$"
SealedChamber_InnerRoom_Braille_ButWeSealedThePokemonAway: @ 82A6C0D
- .byte 3
- .byte 0
- .byte 25
- .byte 19
- .byte 6
- .byte 3
+ brailleformat 3, 0, 25, 19, 6, 3
.braille "BUT, WE\n"
.braille "SEALED THE\n"
.braille "POKEMON\n"
.braille "AWAY.$"
SealedChamber_InnerRoom_Braille_WeFearedIt: @ 82A6C34
- .byte 5
- .byte 6
- .byte 25
- .byte 13
- .byte 8
- .byte 9
+ brailleformat 5, 6, 25, 13, 8, 9
.braille "WE FEARED IT.$"
SealedChamber_InnerRoom_Braille_ThoseWithCourageHope: @ 82A6C48
- .byte 6
- .byte 0
- .byte 24
- .byte 19
- .byte 9
- .byte 3
+ brailleformat 6, 0, 24, 19, 9, 3
.braille "THOSE WITH\n"
.braille "COURAGE,\n"
.braille "THOSE WITH\n"
.braille "HOPE.$"
SealedChamber_InnerRoom_Braille_OpenDoorEternalPokemonWaits: @ 82A6C73
- .byte 3
- .byte 2
- .byte 27
- .byte 17
- .byte 6
- .byte 5
+ brailleformat 3, 2, 27, 17, 6, 5
.braille "OPEN A DOOR.\n"
.braille "AN ETERNAL\n"
.braille "POKEMON\n"
.braille "WAITS.$"
DesertRuins_Braille_UseRockSmash: @ 82A6CA0
- .byte 1
- .byte 0
- .byte 27
- .byte 19
- .byte 4
- .byte 3
+ brailleformat 1, 0, 27, 19, 4, 3
.braille "LEFT, LEFT,\n"
.braille "DOWN, DOWN.\n"
.braille "THEN, USE\n"
.braille "ROCK SMASH.$"
IslandCave_Braille_RunLapAroundWall: @ 82A6CD4
- .byte 5
- .byte 0
- .byte 25
- .byte 19
- .byte 8
- .byte 3
+ brailleformat 5, 0, 25, 19, 8, 3
.braille "STAY CLOSE\n"
.braille "TO THE WALL.\n"
.braille "RUN AROUND\n"
.braille "ONE LAP.$"
AncientTomb_Braille_ShineInTheMiddle: @ 82A6D06
- .byte 3
- .byte 0
- .byte 25
- .byte 19
- .byte 6
- .byte 3
+ brailleformat 3, 0, 25, 19, 6, 3
.braille "THOSE WHO\n"
.braille "INHERIT OUR\n"
.braille "WILL, SHINE\n"