summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-06-16 13:03:05 -0700
committeryenatch <yenatch@gmail.com>2014-06-16 13:03:05 -0700
commit35f2bb90d4a8f8e4dcac3fbab7d89cbc590285e8 (patch)
tree22edd68ca5b17147a1733a1781e9eaf78f379e2f /scripts
parent38ac74f22285974bda6a0ed537958def8415076e (diff)
Rename predef functions so they aren't excessive in length.
This is mostly because of an rgbasm bug that prevents macro arguments from exceeding 16 characters, but the names were bad anyway.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/celadongamecorner.asm2
-rwxr-xr-xscripts/daycarem.asm2
-rwxr-xr-xscripts/mtmoonpokecenter.asm2
-rwxr-xr-xscripts/museum1f.asm2
-rwxr-xr-xscripts/oakslab.asm4
-rwxr-xr-xscripts/safarizoneentrance.asm2
6 files changed, 7 insertions, 7 deletions
diff --git a/scripts/celadongamecorner.asm b/scripts/celadongamecorner.asm
index 039abe42..4cb001e6 100755
--- a/scripts/celadongamecorner.asm
+++ b/scripts/celadongamecorner.asm
@@ -157,7 +157,7 @@ CeladonGameCornerText2: ; 48ca9 (12:4ca9)
ld hl, $ffa1
ld de, wPlayerMoney + 2
ld c, $3
- ld a, $c ; SubtractBCDPredef
+ ld a, $c ; SubBCDPredef
call Predef
xor a
ldh [$9f], a
diff --git a/scripts/daycarem.asm b/scripts/daycarem.asm
index d2a70578..b584c4ed 100755
--- a/scripts/daycarem.asm
+++ b/scripts/daycarem.asm
@@ -156,7 +156,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1)
inc hl
ld de, wPlayerMoney + 2
ld c, $3
- ld a, $c ; SubtractBCDPredef
+ ld a, $c ; SubBCDPredef
call Predef
ld a, (SFX_02_5a - SFX_Headers_02) / 3
call PlaySoundWaitForCurrent
diff --git a/scripts/mtmoonpokecenter.asm b/scripts/mtmoonpokecenter.asm
index e4515a61..6bbe7a1b 100755
--- a/scripts/mtmoonpokecenter.asm
+++ b/scripts/mtmoonpokecenter.asm
@@ -55,7 +55,7 @@ MtMoonPokecenterText4: ; 492ec (12:52ec)
ld hl, wTrainerFacingDirection
ld de, wPlayerMoney + 2
ld c, $3
- ld a, $c ; SubtractBCDPredef
+ ld a, $c ; SubBCDPredef
call Predef
ld a, $13
ld [wd125], a
diff --git a/scripts/museum1f.asm b/scripts/museum1f.asm
index ed36973d..5e1bb792 100755
--- a/scripts/museum1f.asm
+++ b/scripts/museum1f.asm
@@ -103,7 +103,7 @@ Museum1FText1: ; 5c135 (17:4135)
ld hl, wTrainerFacingDirection
ld de, wPlayerMoney + 2
ld c, $3
- ld a, $c ; SubtractBCDPredef
+ ld a, $c ; SubBCDPredef
call Predef
ld a, $13
ld [wd125], a
diff --git a/scripts/oakslab.asm b/scripts/oakslab.asm
index 0a54082d..194eb1a8 100755
--- a/scripts/oakslab.asm
+++ b/scripts/oakslab.asm
@@ -847,7 +847,7 @@ OaksLabScript_1d157: ; 1d157 (7:5157)
ld hl, wd730
set 6, [hl]
ld a, $46
- call Predef ; DisplayStarterMonDex
+ call Predef ; StarterDex
ld hl, wd730
res 6, [hl]
call ReloadMapData
@@ -921,7 +921,7 @@ asm_1d1e5: ; 1d1e5 (7:51e5)
ld [W_CURENEMYLVL], a
ld a, [wcf91]
ld [wd11e], a
- call AddPokemonToParty
+ call AddPartyMon
ld hl, wd72e
set 3, [hl]
ld a, $fc
diff --git a/scripts/safarizoneentrance.asm b/scripts/safarizoneentrance.asm
index b560c53d..7140f67b 100755
--- a/scripts/safarizoneentrance.asm
+++ b/scripts/safarizoneentrance.asm
@@ -176,7 +176,7 @@ SafariZoneEntranceText4: ; 752ca (1d:52ca)
ld hl, wTrainerFacingDirection
ld de, wPlayerMoney + 2
ld c, $3
- ld a, $c ; SubtractBCDPredef
+ ld a, $c ; SubBCDPredef
call Predef
ld a, $13
ld [wd125], a