You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
More splitting of main.asm; remove unneeded rept 2
This commit is contained in:
@@ -641,9 +641,8 @@ StatsScreen_LoadGFX: ; 4dfb6 (13:5fb6)
|
||||
inc a
|
||||
ld d, a
|
||||
callba CalcExpAtLevel
|
||||
rept 2
|
||||
ld hl, TempMonExp + 2
|
||||
endr
|
||||
ld hl, TempMonExp + 2
|
||||
ld a, [hQuotient + 2]
|
||||
sub [hl]
|
||||
dec hl
|
||||
@@ -660,9 +659,8 @@ endr
|
||||
.AlreadyAtMaxLevel:
|
||||
ld hl, Buffer1 ; wd1ea (aliases: MagikarpLength)
|
||||
xor a
|
||||
rept 2
|
||||
ld [hli], a
|
||||
endr
|
||||
ld [hli], a
|
||||
ld [hl], a
|
||||
ret
|
||||
; 4e119 (13:6119)
|
||||
|
||||
Reference in New Issue
Block a user