document updated 15 years ago, on Feb 10, 2009
Various things relating to how characters interact with each other. It's useful to add these variables to the debug-watch, and see how things work.
movement states
// oEnemy.status
DROP = 0;
STUNNED = 1;
GETUP = 2;
JUMPING = 3;
// oPlayer1.state
STANDING = 10;
RUNNING = 11;
DUCKING = 12;
LOOKING_UP = 13;
CLIMBING = 14;
JUMPING = 15;
FALLING = 16;
DYING = 17;
LEFT = 18;
RIGHT = 19;
ON_GROUND = 20;
IN_AIR = 21;
ON_LADDER = 22;
HANGING = 23;
DUCKTOHANG = 24;
// oDamsel.state
IDLE = 0;
RUN = 1;
THROWN = 2;
YELL = 3;
EXIT = 4;
SLAVE = 5; // when she starts in the kissing booth
KISS = 6;
DEAD = 99;
health
oEnemy.hp
global.plife // oPlayer1's health