Macros | |
| #define | MARIO_ACCEL 0x0038 |
| #define | MARIO_HIJUMPING 0x0594 |
| #define | MARIO_JUMPING 0x0394 |
| #define | MARIO_MAXACCEL 0x0140 |
Functions | |
| static void | mariofall (void) |
| void | marioinit (u16 xp, u16 yp, u16 type, u16 minx, u16 maxx) |
| static void | mariojump (void) |
| void | marioupdate (u16 idx) |
| static void | mariowalk (void) |
Variables | |
| u8 | flip |
| u8 | mariofidx |
| u8 | marioflp |
| u16 | marioid |
| u16 | mariox |
| u16 | marioy |
| u16 | nbobjects |
| Running count of active objects in the level. | |
| u16 | pad0 |
| u8 | sprmario |
| #define MARIO_ACCEL 0x0038 |
| #define MARIO_HIJUMPING 0x0594 |
| #define MARIO_JUMPING 0x0394 |
| #define MARIO_MAXACCEL 0x0140 |
|
static |
|
static |
| void marioupdate | ( | u16 | idx | ) |
|
static |
| u8 flip |
| u8 mariofidx |
| u8 marioflp |
| u16 marioid |
| u16 mariox |
| u16 marioy |
|
extern |
Running count of active objects in the level.
Initialized to 1 (Mario is always object 0) and incremented as enemies are loaded from the map's object layer by objLoadObjects().
| u16 pad0 |
|
extern |