-
Notifications
You must be signed in to change notification settings - Fork 3
numbers_table
cxd4 edited this page Oct 17, 2015
·
4 revisions
numbers_table
is the game code's identifier for the winning lottery numbers for each night in West Clock Town's lottery shop.
-
zs $filepath -l (unsigned int)
-- Prints the current winning lottery numbers for the given day (whose number in this command is zero-indexed and must be between 0 to 2). -
zs $filepath -l (unsigned int) (uint8_t) (uint8_t) (uint8_t)
-- Interprets the three extra parameters as whole numbers and stores the resulting integers to the game data's table row of winning lottery numbers relevant to the specified day, if said integers fall within the range of values representable by a zero-extended byte in MIPS (0x00 <= x <= 0xFF).
zs $filepath -l 0 1 1 1 # winning ticket numbers for the 1st night: 111
zs $filepath -l 1 5 5 5 # for the 2nd night: 555
zs $filepath -l 2 127 128 255 # for the final night, un-winnable
If, for any digits, a lottery ticket number greater than nine is specified (x > 9
), then ROM character mapping for the game's font code page will decide how the character renders on the screen (similar to how file names are stored and printed), which will depend on whether the ROM in question is PAL, USA, or of the Japanese market. In short, the numbers for that night will be unguessable, so there is no way to win the prize money.
file[0x0FEC:0x0FF4] # numbers[3][3]
To force the winning ticket numbers to 111 for the first night:
GameShark | ROM Version |
---|---|
811F044C 0101 801F044E 0001 | JAP (1.0) |
811F06FC 0101 801F06FE 0001 | JAP (1.1) |
811EE81C 0101 801EE81E 0001 | JAP (GC) |
811EFE6C 0101 801EFE6E 0001 | USA (preview) |
811F065C 0101 801F065E 0001 | USA |
811EE81C 0101 801EE81E 0001 | USA (GC) |
811E7B3C 0101 801E7B3E 0001 | EUR (1.0) |
811E7EDC 0101 801E7EDE 0001 | EUR (1.1) |
811E646C 0101 801E646E 0001 | EUR (GC) |
8124077C 0101 8024077E 0001 | EUR (debug) |