summaryrefslogtreecommitdiff
path: root/home/map.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2020-02-12 13:15:37 +0100
committermid-kid <esteve.varela@gmail.com>2020-02-13 18:31:10 +0100
commita241f049df07dace706606dc573364f76e39eeb6 (patch)
tree4e1a81a23fba40bff751f90c88d56327e5bcd98f /home/map.asm
parent991d207d86c936757e70d2e6a1f6ee6b0e0f5891 (diff)
Remove FarCall prefix from SwapTextboxPalettes and ScrollBGMapPalettes
No prefix for the farcall, prefix with an underscore for the farcalled. This matches what is done for pretty much every other home function.
Diffstat (limited to 'home/map.asm')
-rw-r--r--home/map.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/home/map.asm b/home/map.asm
index 5fd2fcc27..bccc2ae1c 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -93,7 +93,7 @@ GetMapSceneID::
OverworldTextModeSwitch::
call LoadMapPart
- call FarCallSwapTextboxPalettes
+ call SwapTextboxPalettes
ret
LoadMapPart::
@@ -1157,7 +1157,7 @@ ScrollMapUp::
ld de, wBGMapBuffer
call BackupBGMapRow
ld c, 2 * SCREEN_WIDTH
- call FarCallScrollBGMapPalettes
+ call ScrollBGMapPalettes
ld a, [wBGMapAnchor]
ld e, a
ld a, [wBGMapAnchor + 1]
@@ -1172,7 +1172,7 @@ ScrollMapDown::
ld de, wBGMapBuffer
call BackupBGMapRow
ld c, 2 * SCREEN_WIDTH
- call FarCallScrollBGMapPalettes
+ call ScrollBGMapPalettes
ld a, [wBGMapAnchor]
ld l, a
ld a, [wBGMapAnchor + 1]
@@ -1195,7 +1195,7 @@ ScrollMapLeft::
ld de, wBGMapBuffer
call BackupBGMapColumn
ld c, 2 * SCREEN_HEIGHT
- call FarCallScrollBGMapPalettes
+ call ScrollBGMapPalettes
ld a, [wBGMapAnchor]
ld e, a
ld a, [wBGMapAnchor + 1]
@@ -1210,7 +1210,7 @@ ScrollMapRight::
ld de, wBGMapBuffer
call BackupBGMapColumn
ld c, 2 * SCREEN_HEIGHT
- call FarCallScrollBGMapPalettes
+ call ScrollBGMapPalettes
ld a, [wBGMapAnchor]
ld e, a
and %11100000