Trainerpic command and Fossils

This commit is contained in:
Zeta_Null 2024-07-13 15:04:17 -04:00
parent 9a54c174ef
commit 913850d433
19 changed files with 91 additions and 8 deletions

View file

@ -13,6 +13,7 @@ Pokepic::
call GetBaseData
ld de, vTiles1
predef GetMonFrontpic
_Displaypic:
ld a, [wMenuBorderTopCoord]
inc a
ld b, a
@ -26,7 +27,22 @@ Pokepic::
predef PlaceGraphic
call WaitBGMap
ret
Trainerpic::
ld hl, PokepicMenuHeader
call CopyMenuHeader
call MenuBox
call UpdateSprites
call ApplyTilemap
ld b, SCGB_POKEPIC
call GetSGBLayout
xor a
ldh [hBGMapMode], a
ld a, [wTrainerClass]
ld de, vTiles1
predef GetTrainerPic
jr _Displaypic
ClosePokepic::
ld hl, PokepicMenuHeader
call CopyMenuHeader