Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Keitai Denjuu Telefang/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Keitai Denjuu Telefang.


The following RAM map is for the unofficial English translation Pokemon Diamond.

Items And Money

  • C44F = Guns
  • C910 = Money 16-Bit Unsigned Decimal
  • CDC5 = Drills
  • CDD9 = P-Cards
  • CDED = Games

Status

  • C955 = Trailing Monsters Current Health

Denjuu

  • D4E0 = Wild Denjuu
  • D543 = Level of wild Denjuu

Location

  • C903 = Acre
  • C904 = Map
    • 00 - ???
    • 01 - ???
    • 02 - Overworld Map - Upper left quadrant
    • 03 - Overworld Map - Upper right quadrant
    • 04 - Overworld Map - Lower left quadrant
    • 05 - Overworld Map - Lower right quadrant
    • 06 - Antenna Tree - Upper left quadrant
    • 07 - Antenna Tree - Upper right quadrant
    • 08 - Antenna Tree - Lower left quadrant
    • 09 - Antenna Tree - Lower right quadrant
    • 0A - Toronko Village Water Station
    • 0B - Mart/House
    • 0C - Kurinon Village Cave - Floor 1
    • 0D - Kurinon Village Cave - Floor 2
    • 0E - Paparuna Lake Laboratory
    • 0F - Panses Village Cave
    • 10 - Toripa Antenna Tree Cave - Floor 1
    • 11 - Toripa Antenna Tree Cave - Floor 2
    • 12 - Toripa Antenna Tree Cave - Floor 3
    • 13 - Toripa Antenna Tree Cave - Floor 4
    • 14 - Toripa Antenna Tree Cave - Floor 5
    • 15 - Peperi Mountain - Floor 1
    • 16 - Peperi Mountain - Floor 2
    • 17 - Peperi Mountain - Floor 3
    • 18 - Peperi Mountain - Floor 4
    • 19 - Peperi Mountain - Floor 5
    • 1A - Kakotos Relic - Floor 1
    • 1B - Kakotos Relic - Floor 2
    • 1C - Kakotos Relic - Floor 3
    • 1D - Kakotos Relic - Floor 4
    • 1E - Kakotos Relic - Floor 5
    • 1F - Kakotos Relic - Floor 6
    • 20 - Kakotos Relic - Floor 7
    • 21 - Kakotos Relic - Floor 8
    • 22 - Burion Relic - Floor 1
    • 23 - Burion Relic - Floor 2
    • 24 - Burion Relic - Floor 3
    • 25 - Burion Relic - Floor 4
    • 26 - Burion Relic - Floor 5
    • 27 - Burion Relic - Floor 6
    • 28 - Burion Relic - Floor 7
    • 29 - Burion Relic - Floor 8
    • 2A - Burion Relic - Floor 9
    • 2B - Human World - Main Area
    • 2C - Human World - Antenna Tree
    • 2D - Human World - Unused Buildings
    • 2E - ????
    • 2F - ????
    • 30 - Second D-Shoot
    • 31 - Switch Palace (Activates Palm Sea Antenna Tree)
    • 32 - Ion Island Cave - Floor 1
    • 33 - Ion Island Cave - Basement 1
    • 34 - Ion Island Cave - Basement 2
  • C906 = Map Coordinate

00 01 02 03 04 05 06 07
08 09 0A 0B 0C 0D 0E 0F
10 11 12 13 14 15 16 17
18 19 1A 1B 1C 1D 1E 1F
20 21 22 23 24 25 26 27
28 29 2A 2B 2C 2D 2E 2F
30 31 32 33 34 35 36 37
38 39 3A 3B 3C 3D 3E 3F

  • CA70 ~ CABF - Tiles of the current arce. Graphics are changed upon entering menu and returning, etc.

Clock

  • C938 = Frame (Japanese version = 60 frames per second; bootleg version = 50 frames per second)
  • C939 = Second
  • C93A = Minute
  • C93B = Hour

Flags

  • C500-C50D = Treasure chests
    • There is one bit for each chest; only the 7 LSBs are used for chests in C50D
  • C538
    • Bit 2 (.....x..) = Determines whether Shigeki is visible or not.
    • Bit 3 (....x...) = Determines whether partner Denjuu is visible or not.
  • C53B = Shigeki's abilities
    • Bit 0 (.......x) = Ability to walk on water
    • Bit 1 (......x.) = ???
    • Bit 2 (.....x..) = Unused?
    • Bit 3 (....x...) = Unused?
    • Bit 4 (...x....) = Unused?
    • Bit 5 (..x.....) = Run (Why does this flag even exist? Shigeki can always run)
    • Bit 6 (.x......) = Pick up barrels/vases
    • Bit 7 (x.......) = Move boxes
  • C539 = Antenna Trees
    • Bit 3 (....x...) = Toronko -> Kurinon
    • Bit 4 (...x....) = Kurinon -> Toronko
  • C589
    • Bit 3 (....x...) = Determines whether sprite in Map 0x02, Acre 0x65 (the acre directly north of where Nerikara is initially present) is present or not.
    • Bit 5 (..x.....) = The text that appears when Shigeki attempts to hear Nerikara's speech from the right side of the dead end north of him.
    • Bit 6 (.x......) = The text that appears when Shigeki attempts to hear Nerikara's speech from the left side of the dead end north of him.
    • Bit 7 (x.......) = Determines whether Nerikara and Tabasco are present or not in Toronko Village.

Misc. stuff

  • C98E - Setting this to any value other then 00 will enable you to walk through walls, though not diagonally.
  • Menu stuff
    • CB30 - Controls which tab are you when viewing Denjuu's stats. Normally only goes up to 2, so a bigger value causes glitches (DB even crashes the emulator and FE is actually the higher part of the screen)
    • CB38 - Controls which main menu (the one on startup) choice are you on. Value bigger then 3 leads to glitches.
    • CD22 - Controls which D-Shot menu item are you on. Value bigger then 8 leads to glitches, though when clicked, it always opens the picture book (value 8).
      • CB3E - Controls on which selection are you in the options menu. Normally goes up to 4, any higher value shows the cursor over Cancel and modyfying it changes the first choice.
      • CD23 - Controls which Picture Book Denjuu are you on. Value bigger then 174 is always unidentified.
      • CD24 - Controls which Phone Book Denjuu are you on. Value bigger then the number of different Denjuu stored minus one displays Denjuu without picture called Kunikuzushi and when clicked displays ALL of your Denjuu at one, plus a bunch of unnamed Tsunonasu with all stats at zero.
  • CAC0 - When set to 1, Shigeki runs.
  • CAD5 - Sets strenght of a tremor (screen shakes). The tremor only runs in the overworld (not in menus etc., though it runs when talking to Denjuu on phone).
    • CAD6 - Durning a tremor, this value goes down.
  • CB27 - When set to 1, the fade-to-white routine runs.
  • CDB3 - Sets color of the message box. Values up to 3 are set in the options.
  • CDB5 - Controls which D-Shot phone model you have. 6, 7 and 8 may be unused models. Everything above 8 is garbage. Each phone has a different number of Denjuu allowed to be stored, so if you change your model to one with a lesser maximum, all Denjuu above the limit will not be accessible.
  • CDB7 - When set, a message will be printed from a specific bank. (01 is, for example, "You received 1 mail message", while AA is a battle message "??? woke up!" and FF is "Finally, we're connected..." from the intro.)