$80:B422

From ZAMN Hacking
ROM address data
Length 0x25
Type Code
Name outsideOfLevel
Description Gets whether the given position is outside of the level bounds
Arguments/Return value X = [int16] X position
Y = [int16] Y position
Returns C = [boolean] Whether it's outside the level
Return type RTL