Skip to content
cxd4 edited this page Jun 3, 2015 · 2 revisions

Significance

player_character is the game code's identifier for the character whose form Link is currently playing as.

Syntax

  • zs $filepath -p -- Prints the current value from the file data.
  • zs $filepath -p (uint8_t) -- Interprets the extra string parameter as a whole number (any base) and stores the resulting integer to the relevant bits, if said integer falls within the range of values representable by a zero-extended byte in MIPS (0 <= x <= 255).

Tested Inputs

zs $filepath -p 0 # playing as Fierce Deity Link
zs $filepath -p 1 # playing as Goron Link
zs $filepath -p 2 # playing as Zora Link
zs $filepath -p 3 # playing as Deku Link
zs $filepath -p 4 # playing as normal Link

Not all values have been tested, but those are the only found values which did not hang up the game to an unplayable state. This is one of the very few ways to edit the save file to cause the game to fail during execution.

Relevant Bits

file[0x0020]7..0

Derived Cheat Codes

GameShark ROM Version
JAP (1.0)
JAP (1.1)
JAP (GC)
USA (preview)
USA
USA (GC)
EUR (1.0)
EUR (1.1)
EUR (GC)
EUR (debug)
Clone this wiki locally