Skip to content

load_screen

Prototypevoid load_screen(void)

load_screen() loads the screen specified by &player_map.

This command will disable Dink's move() or move_stop() movement, set his sp_move_nohard() flag to 0, and unfreeze()him. It will also clear a screenlock(), draw hard tiles, prepare to respawn any sprites that have an editor_type() of 6-8, given that the appropriate amount of time has passed, and play a midi attached to the screen.

It also loads the map screen from map.dat. It is almost always followed directly by draw_screen().