Deleted several unused modules and some commented code Reorganized some routines to clean up modules Moved some memory into mirrored WRAM Refactored NMI hook aux routine Removed old fake flipper fix
10 lines
348 B
NASM
10 lines
348 B
NASM
;Statically mapped at $A1A000 Referenced by the front end. Do not move without coordination.
|
|
InvertedTileAttributeLookup:
|
|
SEP #$20
|
|
LDA.b $8A : CMP.b #$47 : BEQ .turtleRock
|
|
LDA.l Overworld_TileAttr, X
|
|
JML.l Overworld_GetTileAttrAtLocation_continue
|
|
.turtleRock
|
|
LDA.l Inverted_TR_TileAttributes, X
|
|
JML.l Overworld_GetTileAttrAtLocation_continue
|