Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHEATS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@

## In game

- Press B, R, I simultaneously to fill up your inventory.
- Press B, R, I simultaneously to fill heealth and fuel.

- \` + F1 = Fill rocket fuel

- \` + F2 = Full health

- \` + F3 = Full jump jet

- \` + F4 = Fill weapons

- Press F8 to bring up debug mode.

Expand Down
Binary file added Otto Matic Strategy Guide.doc
Binary file not shown.
Binary file added Otto Matic Strategy Guide.pdf
Binary file not shown.
38 changes: 36 additions & 2 deletions src/Player/Player_Robot.c
Original file line number Diff line number Diff line change
Expand Up @@ -2824,10 +2824,44 @@ static void CheckPlayerActionControls(ObjNode *theNode)
gPlayerInfo.health = 1.0;
gPlayerInfo.fuel = 1.0;
gPlayerInfo.jumpJet = 1.0;
gPlayerInfo.weaponInventory[6].type = WEAPON_TYPE_SUPERNOVA;
}

if (GetKeyState(SDL_SCANCODE_GRAVE) &&
GetKeyState(SDL_SCANCODE_F1))
{
gPlayerInfo.fuel = 1.0;
}

if (GetKeyState(SDL_SCANCODE_GRAVE) &&
GetKeyState(SDL_SCANCODE_F2))
{
gPlayerInfo.health = 1.0;
}

if (GetKeyState(SDL_SCANCODE_GRAVE) &&
GetKeyState(SDL_SCANCODE_F3))
{
gPlayerInfo.jumpJet = 1.0;
}

if (GetKeyState(SDL_SCANCODE_GRAVE) &&
GetKeyState(SDL_SCANCODE_F4))
{
gPlayerInfo.weaponInventory[1].type = WEAPON_TYPE_STUNPULSE;
gPlayerInfo.weaponInventory[1].quantity = 99;
gPlayerInfo.weaponInventory[2].type = WEAPON_TYPE_FREEZE;
gPlayerInfo.weaponInventory[2].quantity = 99;
gPlayerInfo.weaponInventory[3].type = WEAPON_TYPE_FLAME;
gPlayerInfo.weaponInventory[3].quantity = 99;
gPlayerInfo.weaponInventory[4].type = WEAPON_TYPE_FLARE;
gPlayerInfo.weaponInventory[4].quantity = 99;
gPlayerInfo.weaponInventory[5].type = WEAPON_TYPE_SUPERNOVA;
gPlayerInfo.weaponInventory[5].quantity = 99;
gPlayerInfo.weaponInventory[6].type = WEAPON_TYPE_DART;
gPlayerInfo.weaponInventory[6].quantity = 99;
gPlayerInfo.weaponInventory[7].type = WEAPON_TYPE_STUNPULSE;
gPlayerInfo.weaponInventory[7].type = WEAPON_TYPE_GROWTH;
gPlayerInfo.weaponInventory[7].quantity = 99;
LoadSoundEffect(EFFECT_GIANTFOOTSTEP);
}

/***************/
Expand Down
2 changes: 1 addition & 1 deletion src/Player/Player_Weapons.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ static const short weaponToModel[] =

/* MAKE IT FLY AWAY */

if (type == WEAPON_TYPE_GROWTH) // special case the growth powerup
if ((type == WEAPON_TYPE_GROWTH) && (gLevelNum == LEVEL_NUM_JUNGLE)) // special case the growth powerup
TossGrowthVial();
else
{
Expand Down