$80:8353

From ZAMN Hacking
ROM address data
Length 0x45
Type Code
Name waitFrames
Description Pauses the current entity for the given number of frames
Arguments/Return value A = [uint16] Number of frames
Return type N/A

Note: This subroutine also contains the code for the entity processing loop. The main game entry point ($80:80AE) and the entity return point ($80:833E) both jump to locations in the middle of this.

Note: An entity may resume early if its collision handler forces it to.