$80:8418

From ZAMN Hacking
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.