Reactivate CheatJump
This commit is contained in:
@@ -39,6 +39,8 @@ static const uint16 kDefaultKbdControls[kKeys_Total] = {
|
||||
_(SDLK_w), _(SDLK_q), S(SDLK_r),
|
||||
// ClearKeyLog, StopReplay, Fullscreen, Reset, Pause, PauseDimmed, Turbo, ReplayTurbo, WindowBigger, WindowSmaller, DisplayPerf, ToggleRenderer
|
||||
_(SDLK_k), _(SDLK_l), A(SDLK_RETURN), C(SDLK_r), S(SDLK_p), _(SDLK_p), _(SDLK_TAB), _(SDLK_t), N, N, _(SDLK_f), _(SDLK_r),
|
||||
// VolumeUp VolumeDown
|
||||
0, 0,
|
||||
};
|
||||
#undef _
|
||||
#undef A
|
||||
|
||||
@@ -682,9 +682,9 @@ void RtlCheat(char c) {
|
||||
if (c == 'w') {
|
||||
samus_health = samus_max_health;
|
||||
StateRecorder_RecordPatchByte(&state_recorder, 0x9C2, (uint8 *)&samus_health, 2);
|
||||
} else if (c == 'q' && 0) {
|
||||
samus_y_pos -= 32;
|
||||
samus_y_speed = 0;
|
||||
} else if (c == 'q') {
|
||||
samus_y_pos -= 4;
|
||||
samus_y_speed = -8;
|
||||
StateRecorder_RecordPatchByte(&state_recorder, 0xafa, (uint8 *)&samus_y_pos, 2);
|
||||
StateRecorder_RecordPatchByte(&state_recorder, 0xb2e, (uint8 *)&samus_y_speed, 2);
|
||||
menu_index = 0;
|
||||
|
||||
Reference in New Issue
Block a user