Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2017-07-24 05:43:15

rbroab
Member
Registered: 2017-06-13
Post 54/86

Menu Icons Second Bank

I was able to get the mini menu icons working...for the most part.
The Section "Mon Icons" was too big. So I split it into "Mon Icons1" and "Mon Icons2"

SECTION "Mon Icons1", ROMX
INCLUDE "menu/minipics1.asm"

SECTION "Mon Icons2", ROMX
INCLUDE "menu/minipics2.asm"

minipics1.asm is the Bulbasaur menu icon through the Pinsir menu icon, and minipics2.asm is the Tauros menu icon through the Egg menu icon
The issue is, the Tauros menu icon uses the Bulbasaur icon (essentially it starts back over at 1)


What would I script to include BANK(Icons2)?

This is what I have so far
---------------------------------------------------
Function8e82b: ; 8e82b
ld a, e
call ReadMonMenuIcon
ld l, a
ld h, 0
add hl, hl
ld de, IconPointers
add hl, de
ld a, [hli]
ld e, a
ld d, [hl]
ld b, BANK(Icons1)
ld c, 8
ret
---------------------------------------------------
ld a, [CurIcon]
push hl
ld l, a
ld h, 0
add hl, hl
ld de, IconPointers
add hl, de
ld a, [hli]
ld e, a
ld d, [hl]
pop hl

lb bc, BANK(Icons1), 8
call GetGFXUnlessMobile
pop hl
ret
---------------------------------------------------

Offline

Board footer

Powered by FluxBB