ReC98/th01/main/player/player[bss].asm
nmlgc 8d6ab75353 [Naming] [th01] Reduce CPlayerAnim instances to their width and height
Everything about these is bad, including my previous attempt at naming
them. The "forward" instance also contains the flip kick animations
(facing sideways), and MIKO.PTN also contains animations. Those sprite
sizes really are the only reason why those needed to exist at all, so
why pretend that they fulfill some higher semantic reason?

Part of P0162, funded by Ember2528.
2021-10-20 00:06:16 +02:00

14 lines
357 B
NASM

PLAYER_W = 32
PLAYER_H = 32
PLAYER_LEFT_MIN = (PLAYFIELD_LEFT)
PLAYER_LEFT_MAX = (PLAYFIELD_RIGHT - PLAYER_W)
PLAYER_LEFT_START = (PLAYFIELD_CENTER_X - (PLAYER_W / 2))
public _PLAYER_INVINCIBILITY_TIME, _player_left
_player_invincibility_time dw ?
_player_left dw ?
_player_top = (PLAYFIELD_BOTTOM - PLAYER_H)
_player_48x48_top = (PLAYFIELD_BOTTOM - 48)