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.
This commit is contained in:
mid-kid 2020-02-12 13:15:37 +01:00
parent 991d207d86
commit a241f049df
4 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,4 @@
SwapTextboxPalettes:: _SwapTextboxPalettes::
hlcoord 0, 0 hlcoord 0, 0
decoord 0, 0, wAttrMap decoord 0, 0, wAttrMap
ld b, SCREEN_HEIGHT ld b, SCREEN_HEIGHT
@ -44,7 +44,7 @@ SwapTextboxPalettes::
jr nz, .loop jr nz, .loop
ret ret
ScrollBGMapPalettes:: _ScrollBGMapPalettes::
ld hl, wBGMapBuffer ld hl, wBGMapBuffer
ld de, wBGMapPalBuffer ld de, wBGMapPalBuffer
.loop .loop

View File

@ -1,6 +1,5 @@
PrinterReceive:: PrinterReceive::
homecall _PrinterReceive homecall _PrinterReceive
ret ret
AskSerial:: AskSerial::

View File

@ -93,7 +93,7 @@ GetMapSceneID::
OverworldTextModeSwitch:: OverworldTextModeSwitch::
call LoadMapPart call LoadMapPart
call FarCallSwapTextboxPalettes call SwapTextboxPalettes
ret ret
LoadMapPart:: LoadMapPart::
@ -1157,7 +1157,7 @@ ScrollMapUp::
ld de, wBGMapBuffer ld de, wBGMapBuffer
call BackupBGMapRow call BackupBGMapRow
ld c, 2 * SCREEN_WIDTH ld c, 2 * SCREEN_WIDTH
call FarCallScrollBGMapPalettes call ScrollBGMapPalettes
ld a, [wBGMapAnchor] ld a, [wBGMapAnchor]
ld e, a ld e, a
ld a, [wBGMapAnchor + 1] ld a, [wBGMapAnchor + 1]
@ -1172,7 +1172,7 @@ ScrollMapDown::
ld de, wBGMapBuffer ld de, wBGMapBuffer
call BackupBGMapRow call BackupBGMapRow
ld c, 2 * SCREEN_WIDTH ld c, 2 * SCREEN_WIDTH
call FarCallScrollBGMapPalettes call ScrollBGMapPalettes
ld a, [wBGMapAnchor] ld a, [wBGMapAnchor]
ld l, a ld l, a
ld a, [wBGMapAnchor + 1] ld a, [wBGMapAnchor + 1]
@ -1195,7 +1195,7 @@ ScrollMapLeft::
ld de, wBGMapBuffer ld de, wBGMapBuffer
call BackupBGMapColumn call BackupBGMapColumn
ld c, 2 * SCREEN_HEIGHT ld c, 2 * SCREEN_HEIGHT
call FarCallScrollBGMapPalettes call ScrollBGMapPalettes
ld a, [wBGMapAnchor] ld a, [wBGMapAnchor]
ld e, a ld e, a
ld a, [wBGMapAnchor + 1] ld a, [wBGMapAnchor + 1]
@ -1210,7 +1210,7 @@ ScrollMapRight::
ld de, wBGMapBuffer ld de, wBGMapBuffer
call BackupBGMapColumn call BackupBGMapColumn
ld c, 2 * SCREEN_HEIGHT ld c, 2 * SCREEN_HEIGHT
call FarCallScrollBGMapPalettes call ScrollBGMapPalettes
ld a, [wBGMapAnchor] ld a, [wBGMapAnchor]
ld e, a ld e, a
and %11100000 and %11100000

View File

@ -319,10 +319,10 @@ ReloadSpritesNoPalettes::
call DelayFrame call DelayFrame
ret ret
FarCallSwapTextboxPalettes:: SwapTextboxPalettes::
homecall SwapTextboxPalettes homecall _SwapTextboxPalettes
ret ret
FarCallScrollBGMapPalettes:: ScrollBGMapPalettes::
homecall ScrollBGMapPalettes homecall _ScrollBGMapPalettes
ret ret