News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

Expanding Item Names

Started by Mentlegen, May 07, 2018, 11:27:14 PM

Previous topic - Next topic

Mentlegen

Hey everyine, just had an interesting idea.

How would i go about expanding the item names in the pause menu screen? somehow giving more tiles to work with would be my optimal goal. I know that the disassembly might come in handy

Smiley


PHOSPHOTiDYL


$82A195 BE 8C C0    LDX $C08C,y[$82:C08C] ;//[POINT_TILEMAP_BEAMS]
$82A198 A9 0A 00    LDA #$000A ;//tilemap array size
$82A19B 85 16       STA $16    [$7E:0016]

$82A201 BE 96 C0    LDX $C096,y[$82:C09A] ;//[POINT_TILEMAP_SUITSMISC]
$82A204 A9 12 00    LDA #$0012 ;//tilemap array size
$82A207 85 16       STA $16    [$7E:0016]

$82A252 A9 12 00    LDA #$0012 ;//tilemap array size
$82A255 85 16       STA $16    [$7E:0016]
$82A257 BE A2 C0    LDX $C0A2,y[$82:C0A2] ;//[POINT_TILEMAP_BOOTS]

ORG $82C593 : dw $C2F5 ;//[bigger beam cursor box, was $C2B7]

;//[equip screen tilemap pointers ($82BF06-$82C02B)]
;//[equip screen goodies ($82C02C-$82C04B)]
;//[set bitflags ($82C04C-$82C067)]
;//[points to enabled items tilemap in ram (dw $yyxx) ($82C068-$82C087)]
;//[pointers to tilemap pointers ($82C088-$82C0B1)]
;//[pointers to cursor x/y positions ($82C18E-$82C195)]
;//[equip screen cursor positions x/y ($82C196-$82C1D5)]

ORG $82BF06 ;//[equip screen tilemap pointers ($82BF06-$82C02B)]
TilemapMode:
dw $2519,$251A,$251B
TilemapUnused:
dw $3D46,$3D47,$3D48,$3D49
TilemapReserve:
dw $3C80,$3C81,$3C82,$3C83,$3C84,$3C85,$3C86
TilemapManual:
dw $3D46,$3D47,$3D48,$3D49
TilemapAuto:
dw $3D56,$3D57,$3D58,$3D59

TilemapCharge:
dw $08FF,$08D8,$08D9,$08DA,$08E7
TilemapIce:
dw $08FF,$08DB,$08DC,$08D4,$08D4
TilemapWave:
dw $08FF,$08DD,$08DE,$08DF,$08D4
TilemapSpazer:
dw $08FF,$08E8,$08E9,$08EA,$08EB
TilemapPlasma:
dw $08FF,$08EC,$08ED,$08EE,$08EF

TilemapVaria:
dw $08FF,$0900,$0901,$0902,$0903,$0904,$0905,$08D4,$08D4
TilemapGravity:
dw $08FF,$08D0,$08D1,$08D2,$08D3,$0903,$0904,$0905,$08D4

TilemapMorph:
dw $08FF,$0920,$0921,$0922,$0923,$0917,$0918,$090F,$091F
TilemapBomb:
dw $08FF,$08D5,$08D6,$08D7,$08D4,$08D4,$08D4,$08D4,$08D4
TilemapSpring:
dw $08FF,$0910,$0911,$0912,$0913,$0914,$0915,$0916,$08D4
dw $0000 ;//index
TilemapScrew:
dw $08FF,$08E0,$08E1,$08E2,$08E3,$08E4,$08E5,$08E6,$08D4

TilemapHijump:
dw $08FF,$0930,$0931,$0932,$0933,$0934,$0935,$0936,$08D4
TilemapSpace:
dw $08FF,$08F0,$08F1,$08F2,$08F3,$08F4,$08F5,$08D4,$08D4
TilemapSpeed:
dw $08FF,$0924,$0925,$0926,$0927,$0928,$0929,$092A,$092B

TilemapHyper:
dw $08FF,$0937,$0938,$0939,$092F,$08D4,$08D4,$08D4,$08D4
HyperIndex:
dw $0000,$0000,$0000,$0000,$0000,$0000,$0000,$0000,$0000

ORG $82C02C ;//[equip screen goodies ($82C02C-$82C04B)]
dw RamTilemapReserve
dw RamTilemapBeams
dw RamTilemapSuitMisc
dw RamTilemapBoots
dw $0000 ;//index
dw BitflagBeams
dw BitflagSuitMisc
dw BitflagBoots
dw $0000 ;//index
dw $09A6 ;//<equipped beams>
dw $09A2 ;//<equipped items>
dw $09A2 ;//<equipped items>
dw $0000 ;//index
dw PointTilemapBeams
dw PointTilemapSuitMisc
dw PointTilemapBoots

ORG $82C04C ;//[set bitflags ($82C04C-$82C067)]
BitflagBeams:
dw $1000 ;//chargebeam
dw $0002 ;//icebeam
dw $0001 ;//wavebeam
dw $0004 ;//spazerbeam
dw $0008 ;//plasmabeam
BitflagSuitMisc:
dw $0001 ;//variasuit
dw $0020 ;//gravitysuit
dw $0004 ;//morphroll
dw $1000 ;//morphbomb
dw $0002 ;//springball
dw $0008 ;//screwattack
BitflagBoots:
dw $0100 ;//hijump
dw $0200 ;//spacejump
dw $2000 ;//speedboost

ORG $82C068 ;//[points to enabled items tilemap in ram (dw $yyxx) ($82C068-$82C087)]
;//[routine will stop reading if $0000, so $FFFF here]
RamTilemapReserve:
dw $3A88 ;//mode
dw $3AC8 ;//reserve
RamTilemapBeams:
dw $3C08 ;//chargebeam
dw $3C48 ;//icebeam
dw $3C88 ;//wavebeam
dw $3CC8 ;//spazerbeam
dw $3D08 ;//plasmabeam
RamTilemapSuitMisc:
dw $3A6A ;//variasuit
dw $3AAA ;//gravitysuit
dw $3B6A ;//morphroll
dw $3BAA ;//morphbomb
dw $3BEA ;//springball
dw $3C2A ;//screwattack
RamTilemapBoots:
dw $3CEA ;//hijump
dw $3D2A ;//spacejump
dw $3D6A ;//speedboost

ORG $82C088 ;//[pointers to tilemap pointers ($82C088-$82C0B1)]
PointTilemapReserve:
dw TilemapMode
dw TilemapReserve
PointTilemapBeams:
dw TilemapCharge
dw TilemapIce
dw TilemapWave
dw TilemapSpazer
dw TilemapPlasma
PointTilemapSuitMisc:
dw TilemapVaria
dw TilemapGravity
dw TilemapMorph
dw TilemapBomb
dw TilemapSpring
dw TilemapScrew
PointTilemapBoots:
dw TilemapHijump
dw TilemapSpace
dw TilemapSpeed
PointTilemapHyper:
dw HyperIndex
dw HyperIndex
dw TilemapHyper
dw HyperIndex
dw HyperIndex

ORG $82C18E ;//[pointers to cursor x/y positions ($82C18E-$82C195)]
dw CursorReserve
dw CursorBeams
dw CursorSuitMisc
dw CursorBoots

ORG $82C196 ;//[equip screen cursor positions x/y ($82C196-$82C1D5)]
CursorReserve:
dw $001B,$0054 ;//mode
dw $001B,$005C ;//reserve
CursorBeams:
dw $0030,$0084 ;//charge
dw $0030,$008C ;//ice
dw $0030,$0094 ;//wave
dw $0030,$009C ;//spazer
dw $0030,$00A4 ;//plasma
CursorSuitMisc:
dw $00CC,$004C ;//varia
dw $00CC,$0054 ;//gravity
dw $00CC,$006C ;//morph
dw $00CC,$0074 ;//bomb
dw $00CC,$007C ;//spring
dw $00CC,$0084 ;//screw
CursorBoots:
dw $00CC,$009C ;//hijump
dw $00CC,$00A4 ;//space
dw $00CC,$00AC ;//speed