$80:8418: Difference between revisions

From ZAMN Hacking
Content added Content deleted
No edit summary
No edit summary
 
Line 4: Line 4:


VBLANK end listeners will be run after all VBLANK listeners, and also after the controller input is processed.
VBLANK end listeners will be run after all VBLANK listeners, and also after the controller input is processed.

[[Category:ROM address]]

Latest revision as of 18:40, 22 June 2024

ROM address data
Length 0x25
Type Code
Name runOnVBLANKEnd
Description Creates a VBLANK end listener
Arguments/Return value Y+A = [pointer32] Listener subroutine
Returns X = [uint16] Listener ID
Return type RTL

The given subroutine returns a value in the carry indicating if it should continue to run on the next frame.

VBLANK end listeners will be run after all VBLANK listeners, and also after the controller input is processed.