mirror of
https://github.com/pret/pokegold.git
synced 2026-10-02 11:56:40 -05:00
Add some comments/constants to core.asm and intro_menu.asm
This commit is contained in:
@@ -4633,7 +4633,9 @@ UpdateHPPal:
|
||||
jp FinishBattleAnim
|
||||
|
||||
Battle_DummyFunction:
|
||||
; called before placing either battler's nickname in the HUD
|
||||
; Called before placing either battler's nickname in the HUD.
|
||||
; This was CenterMonName in Gen 1.
|
||||
; In Gen 2, pokemon nicknames are always left-aligned on the HUD.
|
||||
ret
|
||||
|
||||
BattleMenu:
|
||||
@@ -7810,7 +7812,7 @@ StartBattle:
|
||||
lb bc, 4, 10
|
||||
call ClearBox
|
||||
call ClearSprites
|
||||
ld a, [wEnemyMonEnd]
|
||||
ld a, [wBattleMode]
|
||||
cp WILD_BATTLE
|
||||
call z, UpdateEnemyHUD
|
||||
ld a, $1
|
||||
@@ -8139,7 +8141,7 @@ ReadAndPrintLinkBattleRecord:
|
||||
pop hl
|
||||
call PlaceString
|
||||
pop hl
|
||||
ld de, 26
|
||||
ld de, SCREEN_WIDTH + 6
|
||||
add hl, de
|
||||
push hl
|
||||
ld de, wLinkBattleRecordWins
|
||||
|
||||
@@ -166,7 +166,7 @@ SetDefaultBoxNames:
|
||||
ld [hli], a
|
||||
ld [hl], '@'
|
||||
pop hl
|
||||
ld de, 9
|
||||
ld de, BOX_NAME_LENGTH
|
||||
add hl, de
|
||||
inc c
|
||||
ld a, c
|
||||
@@ -474,11 +474,7 @@ Continue_DisplayPokedexNumCaught:
|
||||
ret z
|
||||
push hl
|
||||
ld hl, wPokedexCaught
|
||||
if NUM_POKEMON % 8
|
||||
ld b, NUM_POKEMON / 8 + 1
|
||||
else
|
||||
ld b, NUM_POKEMON / 8
|
||||
endc
|
||||
ld b, (NUM_POKEMON + 7) / 8
|
||||
call CountSetBits
|
||||
pop hl
|
||||
ld de, wNumSetBits
|
||||
|
||||
Reference in New Issue
Block a user