Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Temporary variables
- UNION
- ; The direction in which the camera moved on this frame
- ; -1 = left
- ; 0 = right
- ; Anything else is invalid
- ; NEITHER value guarantees the camera moved at all (due to locking, for example)
- hCameraYMovementDirection::
- db
- ; See hCameraYMovementDirection
- hCameraXMovementDirection::
- db
- UNION
- ; Redraw destination ptr
- hRedrawTilemapAddr::
- dw
- NEXTU
- ; Accumulated height, in tiles
- hRedrawAccumulatedHeight::
- db
- ; Index of the col to be redrawn
- hRedrawTargetColID::
- db
- NEXTU
- ; First tile of the current row
- hRedrawRowStart::
- db
- ; Map's width divided by 8
- hRedrawTileWidth::
- db
- ENDU
- ; Number of layers remaining to redraw
- hRedrawLayerCount::
- db
- ; How many rows need to be redrawn
- hRedrawRowCount::
- db
- NEXTU
- ; Remaining OAM entries to write in the current NPC
- hNPCRemainingEntries::
- db
- ; Current tile ID
- hNPCTileID::
- db
- ; Current attr
- hNPCAttr::
- db
- NEXTU
- ; Number of NPCs remaining to load
- hLoadingRemainingNPCs::
- db
- ; Number of NPC tiles to load
- hLoadingNPCCount::
- db
- ; Current NPC base tile ID
- hLoadingNPCBaseTileID::
- db
- NEXTU
- hPlayerShiftBytes::
- ds 16
- NEXTU
- ; Currently executed cutscene command
- ; Only bit 7 is considered, to check if the command should be made instant
- ; Commands can forcibly reset that bit if they want
- hCutsceneCurrentCommand::
- db
- ENDU
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement