summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
Diffstat (limited to 'main.asm')
-rwxr-xr-xmain.asm22
1 files changed, 11 insertions, 11 deletions
diff --git a/main.asm b/main.asm
index 10317d4f..8def2f85 100755
--- a/main.asm
+++ b/main.asm
@@ -590,7 +590,7 @@ INCLUDE "engine/cable_club.asm"
LoadTrainerInfoTextBoxTiles: ; 5ae6 (1:5ae6)
ld de, TrainerInfoTextBoxTileGraphics
ld hl, vChars2 + $760
- ld bc, (BANK(TrainerInfoTextBoxTileGraphics) << 8) +$09
+ lb bc, BANK(TrainerInfoTextBoxTileGraphics), $09
jp CopyVideoData
INCLUDE "engine/menu/main_menu.asm"
@@ -1435,8 +1435,8 @@ DisplayMoneyBox: ; 74ba (1:74ba)
ld [wTextBoxID], a
call DisplayTextBoxID
coord hl, 13, 1
- ld b, $1
- ld c, $6
+ ld b, 1
+ ld c, 6
call ClearScreenArea
coord hl, 12, 1
ld de, wPlayerMoney
@@ -1967,7 +1967,7 @@ _RemovePokemon: ; 7b68 (1:7b68)
.asm_7ba6
ld d, h
ld e, l
- ld bc, $b
+ ld bc, 11
add hl, bc
ld bc, wPartyMonNicks
ld a, [wRemoveMonFromBox]
@@ -2007,12 +2007,12 @@ _RemovePokemon: ; 7b68 (1:7b68)
jr z, .asm_7bfa
ld hl, wBoxMonNicks
.asm_7bfa
- ld bc, $b
+ ld bc, 11
ld a, [wWhichPokemon]
call AddNTimes
ld d, h
ld e, l
- ld bc, $b
+ ld bc, 11
add hl, bc
ld bc, wPokedexOwned
ld a, [wRemoveMonFromBox]
@@ -3587,7 +3587,7 @@ _AddPartyMon: ; f2e5 (3:72e5)
ld d, h
ld e, l
ld hl, wPlayerName
- ld bc, $b
+ ld bc, 11
call CopyData
ld a, [wMonDataLocation]
and a
@@ -3858,7 +3858,7 @@ _AddEnemyMonToPlayerParty: ; f49d (3:749d)
ld hl, wEnemyMonOT
ld a, [wWhichPokemon]
call SkipFixedLengthTextEntries
- ld bc, $000b
+ ld bc, 11
call CopyData ; write new mon's OT name (from an enemy mon)
ld hl, wPartyMonNicks
ld a, [wPartyCount]
@@ -3869,7 +3869,7 @@ _AddEnemyMonToPlayerParty: ; f49d (3:749d)
ld hl, wEnemyMonNicks
ld a, [wWhichPokemon]
call SkipFixedLengthTextEntries
- ld bc, $000b
+ ld bc, 11
call CopyData ; write new mon's nickname (from an enemy mon)
ld a, [wcf91]
ld [wd11e], a
@@ -4000,7 +4000,7 @@ _MoveMon: ; f51e (3:751e)
ld a, [wWhichPokemon]
call SkipFixedLengthTextEntries
.asm_f5ec
- ld bc, $b
+ ld bc, 11
call CopyData
ld a, [wMoveMonType]
cp PARTY_TO_DAYCARE
@@ -4030,7 +4030,7 @@ _MoveMon: ; f51e (3:751e)
ld a, [wWhichPokemon]
call SkipFixedLengthTextEntries
.asm_f62a
- ld bc, $b
+ ld bc, 11
call CopyData
pop hl
ld a, [wMoveMonType]