Skip to content

Commit

Permalink
Bugfix: Trade Movie shows incorrect Species No.
Browse files Browse the repository at this point in the history
  • Loading branch information
vulcandth committed Nov 6, 2022
1 parent 584a99d commit 5503cd2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion engine/movie/trade_animation.asm
Original file line number Diff line number Diff line change
Expand Up @@ -970,9 +970,20 @@ TrademonStats_WaitBGMap:
ret

TrademonStats_PrintSpeciesNumber:
; input de = address to species number
ld a, [de]
call GetPokemonIndexFromID
ld a, h
ld h, l
ld l, a
push hl
ld hl, sp + 0
ld d, h
ld e, l
hlcoord 10, 0
lb bc, PRINTNUM_LEADINGZEROS | 1, 3
lb bc, PRINTNUM_LEADINGZEROS | 2, 3
call PrintNum
pop de
ld [hl], " "
ret

Expand Down

0 comments on commit 5503cd2

Please sign in to comment.