You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Pressing L in debug fly mode heals Mario (#809)
This commit is contained in:
@@ -518,6 +518,10 @@ s32 act_debug_free_move(struct MarioState *m) {
|
||||
struct Surface *floor, *ceil;
|
||||
Vec3f pos;
|
||||
|
||||
if (gPlayer1Controller->buttonPressed & L_TRIG) {
|
||||
m->health = 0x880;
|
||||
}
|
||||
|
||||
f32 speed = (gPlayer1Controller->buttonDown & B_BUTTON) ? 4.0f : 1.0f;
|
||||
if (gPlayer1Controller->buttonDown & Z_TRIG) speed = 0.01f;
|
||||
if (m->area->camera->mode != CAMERA_MODE_8_DIRECTIONS) set_camera_mode(m->area->camera, CAMERA_MODE_8_DIRECTIONS, 1);
|
||||
|
||||
Reference in New Issue
Block a user