summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-06-27 15:32:24 -0400
committerGitHub <noreply@github.com>2020-06-27 15:32:24 -0400
commit4b853ad676e061a6c4b0fcc030855a2705776864 (patch)
treea6d6f2976827862f4a5f402e92c8479ccf7fb349 /engine/battle/core.asm
parentff927ba730e45a843c1e183b5f05646f96378af0 (diff)
Separate maps.asm, pics.asm, sprites.asm, and tilesets.asm from main.asm (#251)
Each new file builds its own .o, along with separate main.o and home.o, which necessitates many more "exported::" labels.
Diffstat (limited to 'engine/battle/core.asm')
-rwxr-xr-xengine/battle/core.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 96ec8e2f..96318c78 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -1451,7 +1451,7 @@ TrainerSentOutText:
; tests if the player has any pokemon that are not fainted
; sets d = 0 if all fainted, d != 0 if some mons are still alive
-AnyPartyAlive:
+AnyPartyAlive::
ld a, [wPartyCount]
ld e, a
xor a
@@ -1996,7 +1996,7 @@ CenterMonName:
pop de
ret
-DisplayBattleMenu:
+DisplayBattleMenu::
call LoadScreenTilesFromBuffer1 ; restore saved screen
ld a, [wBattleType]
and a
@@ -6718,7 +6718,7 @@ PlayMoveAnimation:
call Delay3
predef_jump MoveAnimation
-InitBattle:
+InitBattle::
ld a, [wCurOpponent]
and a
jr z, DetermineWildOpponent
@@ -6934,7 +6934,7 @@ CopyUncompressedPicToTilemap:
ld a, [wPredefRegisters + 1]
ld l, a
ld a, [hStartTileID]
-CopyUncompressedPicToHL:
+CopyUncompressedPicToHL::
lb bc, 7, 7
ld de, SCREEN_WIDTH
push af