summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/audio.asm2
-rw-r--r--home/battle.asm10
-rw-r--r--home/game_time.asm1
-rw-r--r--home/init.asm1
-rw-r--r--home/map.asm3
-rw-r--r--home/palettes.asm1
-rw-r--r--home/text.asm1
-rw-r--r--home/trainers.asm2
-rw-r--r--home/video.asm1
9 files changed, 2 insertions, 20 deletions
diff --git a/home/audio.asm b/home/audio.asm
index 0099e2d2f..b02b0670b 100644
--- a/home/audio.asm
+++ b/home/audio.asm
@@ -1,7 +1,6 @@
; Audio interfaces.
MapSetup_Sound_Off::
-
push hl
push de
push bc
@@ -26,7 +25,6 @@ MapSetup_Sound_Off::
ret
UpdateSound::
-
push hl
push de
push bc
diff --git a/home/battle.asm b/home/battle.asm
index 24abe4cd3..e88adef02 100644
--- a/home/battle.asm
+++ b/home/battle.asm
@@ -142,10 +142,6 @@ FarCopyRadioText::
ret
MobileTextBorder::
-
-CELL_PHONE_TOP EQU $5e
-CELL_PHONE_BOTTOM EQU $5f
-
; For mobile link battles only.
ld a, [wLinkMode]
cp LINK_MOBILE
@@ -154,9 +150,9 @@ CELL_PHONE_BOTTOM EQU $5f
; Draw a cell phone icon at the
; top right corner of the border.
hlcoord 19, 12
- ld [hl], CELL_PHONE_TOP
+ ld [hl], $5e ; top
hlcoord 19, 13
- ld [hl], CELL_PHONE_BOTTOM
+ ld [hl], $5f ; bottom
ret
BattleTextBox::
@@ -186,7 +182,6 @@ StdBattleTextBox::
ret
GetBattleAnimPointer::
-
ld a, BANK(BattleAnimations)
rst Bankswitch
@@ -201,7 +196,6 @@ GetBattleAnimPointer::
ret
GetBattleAnimByte::
-
push hl
push de
diff --git a/home/game_time.asm b/home/game_time.asm
index a7808cbea..0300db73d 100644
--- a/home/game_time.asm
+++ b/home/game_time.asm
@@ -9,7 +9,6 @@ ResetGameTime::
ret
GameTimer::
-
nop
ld a, [rSVBK]
diff --git a/home/init.asm b/home/init.asm
index 6ded82f66..dc1f538be 100644
--- a/home/init.asm
+++ b/home/init.asm
@@ -33,7 +33,6 @@ _Start::
ld [hSystemBooted], a
Init::
-
di
xor a
diff --git a/home/map.asm b/home/map.asm
index 416b2f51a..ce4dad58c 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -757,7 +757,6 @@ ChangeMap::
ret
FillMapConnections::
-
; North
ld a, [wNorthConnectedMapGroup]
cp $ff
@@ -855,7 +854,6 @@ FillMapConnections::
FillNorthConnectionStrip::
FillSouthConnectionStrip::
-
ld c, 3
.y
push de
@@ -890,7 +888,6 @@ FillSouthConnectionStrip::
FillWestConnectionStrip::
FillEastConnectionStrip::
-
.loop
ld a, [wMapWidth]
add 6
diff --git a/home/palettes.asm b/home/palettes.asm
index 265c7f11b..d5b6abff5 100644
--- a/home/palettes.asm
+++ b/home/palettes.asm
@@ -18,7 +18,6 @@ UpdateCGBPals::
ret z
ForceUpdateCGBPals::
-
ld a, [rSVBK]
push af
ld a, BANK(wBGPals2)
diff --git a/home/text.asm b/home/text.asm
index c71ed9cc1..d74af02af 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -52,7 +52,6 @@ TextBox::
jr TextBoxPalette
TextBoxBorder::
-
; Top
push hl
ld a, "┌"
diff --git a/home/trainers.asm b/home/trainers.asm
index e9c1c7167..5def6cf17 100644
--- a/home/trainers.asm
+++ b/home/trainers.asm
@@ -20,7 +20,6 @@ CheckTrainerBattle::
.loop
; Start a battle if the object:
-
push af
push de
@@ -128,7 +127,6 @@ LoadTrainer_continue::
ret
FacingPlayerDistance_bc::
-
push de
call FacingPlayerDistance
ld b, d
diff --git a/home/video.asm b/home/video.asm
index fe96ecec4..4b519fca0 100644
--- a/home/video.asm
+++ b/home/video.asm
@@ -356,7 +356,6 @@ Serve2bppRequest::
jr _Serve2bppRequest
Serve2bppRequest_VBlank::
-
ld a, [wRequested2bpp]
and a
ret z