diff --git a/engine/movie/trade_animation.asm b/engine/movie/trade_animation.asm index 4a530b53..4abad52e 100644 --- a/engine/movie/trade_animation.asm +++ b/engine/movie/trade_animation.asm @@ -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