View Single Post
  #715    
Old August 7th, 2015 (7:24 AM).
Deokishisu's Avatar
Deokishisu Deokishisu is offline
Mr. Magius
     
    Join Date: Feb 2006
    Location: If I'm online, it's a safe bet I'm at a computer.
    Gender: Male
    Nature: Relaxed
    Posts: 859
    Quote:
    Originally Posted by Mr.Pkmn View Post

    Encrypted Counters


    FR saves 64 hidden words after the variables space. Apparently, only the first 51 of them are actually used (still their purpose is unknown) and have a max value of 0x00FFFFFF (16 millions). You can access them by using variable 0x4100 + [counter id * 2, only lower halfword] (but you need to disable the security key to read the actual value) and increment by 1 using the scripting command cmdc3 [id] and battle script command cmd60 [id].

    Here's the list of counters i found:
    Code:
    0x0 n. saves
    0x1 hall of fame (HHHH/MM/SS)
    0x5 n. steps
    0x7 n. poke battles
    0x8 n. wild battles
    0x9 n. trainer battles
    0xA n. hall of fame
    0xB n. poke caught
    0xC n. poke fished
    0xD n. eggs hatched
    0xE n. poke evolved
    0xF n. pokecenter heal
    0x11 n. safari games
    0x12 n. trees cut
    0x13 n. rocks smashed
    0x15 n. trades
    0x17 n. link win
    0x18 n. link loss
    0x19 n. link draw
    0x1A n. splash used 
    0x1B n. struggle used
    0x1C n. gamecorner max payout
    0x20 ??? [manipulated by special 0xED]
    0x26 n. pokemart purchases
    0x27 n. itemfinder uses
    0x28 n. thunderstorm weather in overworld (unused)
    0x29 n. pokedex opened
    0x2A n. elitefour win? (updated with hall of fame)
    0x2B n. ledge jumps
    0x2F ???
    0x32 n. union room
    0x33 n. berry crush
    Some of these are probably used to give out the stickers on Four Island or to display link records in the upstairs of the Pokemon Center, but others may be RS leftovers that the Storyteller used to keep track of "Legendary Trainers". Like, how often you saved or used the itemfinder and such. In fact, Bulbapedia's list of the Storyteller's stories matches almost all of these, and I suspect the unknown ones check flags that RS used (such as number of berries planted or contests won).
    Reply With Quote