View Page Source

Revision (current)
Last Updated by jlun2 on 9/10/2014 3:31 PM
Back to Page

This page attempts to document certain aspects of the "Keitai Denjuu Telefang" series for the GBC and GBA.

For simplification, the GBC and GBA versions will be refered to as Telefang 1 and 2 respectively.

!!! Telefang 1

!! Glitches and Tricks

! Map glitch

When you open the map (or go into battle or open the menu), the values from C0A0-C39F are stored to SRAM at A000-A2FF, and erased. They're copied back when you close the map. These addresses contain things like Shigeki's position and some NPC data. Th

Without going too far in the technical details of the glitch, basically, all you needs to know is that opening the map can be used to change part of the data from C0A0-C39F. 

This glitch is very useful. Not only can you force "teleport" within the screen by using the glitch to rollback your position to the last time you opened the map/menu or battled, but also change NPC data to that of another. 

! Forced Teleport

There are two types of forced teleports, both of which can be controlled.

The first type teleports you within the same screen. Simply open the map/menu or battle in the X/Y Position you want to appear, then go to the area you wish to teleport around in. Wait for the phone to ring, then apply the map glitch. For the majority of the time, you'll rollback both your X/Y Position to the values you've "stored" earlier. Sometimes, only one of the values get reset; it's random. This type of teleportation can be abused by teleporting into a door, then go to another area, allowing you to somewhat walk through walls in buildings.

The second type teleports you to another area. Unfortunately, it requires NPC's to be corrupted, which allows access to addresses like C906, which determines the destination you'll warp to. Writing there isn't what causes the warp though. C3E1 is responsible for that. Unfortunately C3E1 is out of range with the map glitch. You don't really need to use C3E1 to warp; Saving, resetting and going to another location works too.

The destinations determined by C904 can be found at datacrystal, which has a list of locations. Also, the overworld is divided into quadrants. So if you want to warp somewhere in say the lower-left quadrant, it would be easier if you're already in the lower-left quadrant. Or if C906 is already what you need it to be you can change C904 instead.

! NPC Corruption & Glitch State

At C2BE-C2BF, C2DE-C2DF, C2FE-C2FF, and so on, there's a pointer that determines what part of the code will be executed. All of these can be affected by the Map glitch. Like the X/Y posiyion values, you don't have to change the entire address pairs. You can, for example, change C33F without affecting C33E, and vice versa. Anyway, certain value combinations will cause the game into going into a "glitched state". This is very useful in that it allows access to a huge range of addresses. The main ones to change using this glitch are C3E0-C3E1 and C906.

Since to trigger the glitched state requires a pointer to have a specific value, here's a list of glitched states that could be triggered without being interrupted by a battle. 

|Address||C904,C906||C23E,C23F||C2BE,C2BF||C2DE,C2DF||C2FE,C2FF||C31E,C31F||C33E,C33F||
|Pause|4,20|0,0|3,__76__|0,0|0,0|0,0|0,0|
|Phone|2,59|0,0,|__170__,70|210,70|0,0,|0,0,|0,0|
|Result|2,59|0,0|__170,76__|0,0|0,0|0,0|0,0|
| | | | | | | | |
|Pause|12,37|0,0|190,__88__|0,0|0,0|0,0|0,0|
|Phone|4,25|0,0|__233__,77|147,77|175,77|7,78|0,0|
|Result|4,25|0,0|__233,88__|0,0|0,0|0,0|0,0|
| | | | | | | | |
|Pause|5,38|0,0|144,80|80,80|160,80|42,77|0,__0__|
|Phone|5,23|0,0|89,77|101,77|30,77|42,77|__107__,77|
|Result|5,23|0,0|89,77|101,77|30,77|42,77|__107,0__|

Note:
#__Pause__ indicates the values of the addresses to store
#__Phone__ indicates the values of the addresses right before you open the map during a phone call
#__Result__ indicates the values of the addresses once you exit the map screen
#__Bold Numbers__ are the values you need to glitch the game


Note:
# All values are 1 byte unsigned
# The address for Map and Coords are listed below under "Important Addresses"
# Values 1 mean the values of the pointer pairs at Map & Coords 1
# Values 2 mean the values of the pointer pairs at Map & Coords 2
# Values Result mean the values of the pointer pairs needed at Map & Coords 2 
# Values 1 and 2 must be located in the same pointer; If Values 1 was located at C23E-C23F, Values 2 must also be located there
# Values 1 and 2's location can be manipulated by going to another screen, entering buildings, etc.
 

! C3E1

This address triggers game events like opening the map, evolution, the credits, etc. In the overworld, its pair, C3E0, will always be 5. Since you can only change C3E1 in the overworld, C3E0 can be ignored. The following is a list of notable values that can potentially be used for a TAS.

||Value||Function||Notes||
|6|Battle|You can't battle glitched Denjuu by changing this, only whatever is in the area|
|8|Debug Menu|Allows direct modification of C904 and C906 with the D-Pad|
|27,28,30,32,33|Evolution to クニクズシ|Values 32,33 evolves immediately|
|48-51|Credits|Values other than 48 lead to a glitched up credits|

! クニクズシ

This is a glitched Denjuu with an index number of 0 and is one of the only glitched Denjuu that could be obtained without getting stuck; others can be found by using the debug menu or glitched state to change C904 to values above 52 to go to glitched areas with both glitched Denjuu and normal Denjuu with levels higher than 100, but you can't return to the normal overworld.

クニクズシ only knows a glitched up move 2 - 4 times that could only be used if battle animations are turned off. Its stats are not random; it follows a fixed pattern for every level greater than 2. Here are its stats:

||Level||Hitpoints||Speed||Attack||Defence||Denma Attack||Denma Defence||
|0|73|57|71|131|22|224|
|1|73|57|71|131|22|224|
|2|88|58|72|181|44|239|

From level 3 onward:
*Hitpoints and Denma Defence increases by 15 per level
*Speed increases by 1 every 2 levels
*Attack increases by 1 per level
*Defence increases by 50,51,50,etc. per level
*Denma Attack increases by 22,23,22,etc. per level
*If a stats next level would go past 256, the game adds the stat, then subtract 256 from it (Example: Denma Defence at level 3 is 254, at level 4 it's 254 + 15 - 256 = 13) 

!! Important Addresses

||Address||Function||Notes||
|C904|Map|Values 0-52 are valid, rest leads to glitched area|
|C906|Map Coordinate|Values 0-63 are valid, rest leads to glitched area|
|C23E-C23F|NPC Pointer|Change this with Map Glitch|
|C2BE-C2BF|NPC Pointer|Change this with Map Glitch|
|C2DE-C2DF|NPC Pointer|Change this with Map Glitch|
|C2FE-C2FF|NPC Pointer|Change this with Map Glitch|
|C31E-C31F|NPC Pointer|Change this with Map Glitch|
|C33E-C33F|NPC Pointer|Change this with Map Glitch|
|C3E0-C3E1|Event Trigger|See above section on C3E1|

Notes:
# The values of C904 and C906 can be found [http://datacrystal.romhacking.net/wiki/Keitai_Denjuu_Telefang:RAM_map#Location|here].

!!! Telefang 2

!! Glitches and Tricks

! NPC Bypass

There are two methods of bypassing NPC's. The first method works if the NPC's are standing side by side, and there's a slight gap in between them. With the right sub-pixels, you can walk right through the gap.

The second method involves saving. If your sub-pixels are correct, you can move 1 pixel closer to an NPC than usual. The trick here is by saving and reseting, the NPC will be forced 1 pixel further than before. Simply repeat this until the NPC is out of the way.

! Items

Based on the addresses:%%%
0x03002A00 - Item from battle

Names can be found using this [http://datacrystal.romhacking.net/wiki/Keitai_Denjuu_Telefang_2:TBL|table] and matching the values with the ones found between 0x03004310 - 0x03004318

||ID||Name (Hex)||Name||Effect||Sell Value||
|0|5A 3E 45 39 F0 F0 F0 F0 F0|やくそう|Heals 20 HP|9|
|1|87 64 5A 3E F0 F0 F0 F0 F0|がんやく|Heals 40 HP|48|
|2|3D 4F 56 F0 F0 F0 F0 F0 F0|きのみ|Heals 80 HP|90|
|3|52 42 88 4F 56 8E F0 F0 F0|ふしぎのみず|Heals Max HP|180|
|4|3C 38 52 3E 6D 0D F0 F0 F0|かいふくガス|Heals 20 HP (entire party)|60|
|5|91 38 3C 38 52 3E 6D 0D F0|だいかいふくガス|Heals40 HP (entire party)|300|
|6|3D 4F 56 93 3F F0 F0 F0 F0|きのみづけ|Heals 80 HP (entire party)|480|
|7|4C 8D 4F 56 8E F0 F0 F0 F0|にじのみず|Heals Max HP (entire party)|600|
|8|A7 AF 06 83 0E 29 F0 F0 F0|HPカプセル|Raise Max HP +3|600|
|9|B2 AF 06 83 0E 29 F0 F0 F0|SPカプセル|Raise Max SPEED +1|600|
|10|A0 B3 06 83 0E 29 F0 F0 F0|ATカプセル|Raise Max ATTACK +1|600|
|11|A3 A5 06 83 0E 29 F0 F0 F0|DFカプセル|Raise Max DEFENCE +1|600|
|12|A3 AF 06 83 0E 29 F0 F0 F0|DPカプセル|Raise Max SPECIAL +1|600|
|13|95 3E 3F 42 F0 F0 F0 F0 F0|どくけし|Cures Poison/Paralysis|18|
|14|58 8C 55 42 95 3F 38 F0 F0|めざましどけい|Cures Sleep/Confusion|30|
|15|4B 64 40 39 F0 F0 F0 F0 F0|なんこう|Cures Burn/Frostbite|24|
|16|54 39 88 6C 3E F0 F0 F0 F0|ほうぎょく|Destroys a Barrier|48|
|17|58 89 43 5E F0 F0 F0 F0 F0|めぐすり|Cures Blindness|36|
|18|4B 90 4F 48 9A 56 F0 F0 F0|なぞのつぼみ|Cures all status|300|
|19|4B 90 4F 50 4B F0 F0 F0 F0|なぞのはな|Heals Max + Cures All|300|
|20|50 4B 4F 04 07 0D F0 F0 F0|はぞのエキス|Heals Max + Cures All (entire party)|600|
|21|50 4B 4F 56 48 F0 F0 F0 F0|はぞのみつ|Heals Max + Cures All (entire party)|600|
|22|94 64 55 08 D6 07 CF F0 F0|でんまクッキ-|Heals 30 DP|60|
|23|94 64 55 04 02 7B F0 F0 F0|でんまエイド|Heals 50 DP|120|
|24|94 64 55 7B 28 2E 08 F0 F0|でんまドリンク|Heals Max DP?|480|
|25|77 20 CF C0 F0 F0 F0 F0 F0|ダミ-3|null|60|
|26|77 20 CF C1 F0 F0 F0 F0 F0|ダミ-4|null|60|
|27|77 20 CF C2 F0 F0 F0 F0 F0|ダミ-5|null|60|
|28|77 20 CF C3 F0 F0 F0 F0 F0|ダミ-6|null|60|
|29|77 20 CF C4 F0 F0 F0 F0 F0|ダミ-7|null|60|
|30|37 3B 4F 3B 55 59 5E F0 F0|あおのおまもり|HP +10 (Equip)|1200|
|31|56 95 5E 4F 3B 55 59 5E F0|みどりのおまもり|HP +20 (Equip)|3000|
|32|37 3C 4F 3B 55 59 5E F0 F0|あかのおまもり|HP +30 (Equip)|9000|
|33|37 3B 4F 37 42 62 F0 F0 F0|あおのあしわ|SPEED +5 (Equip)|1200|
|34|56 95 5E 4F 37 42 62 F0 F0|みどりのあしわ|SPEED +10 (Equip)|3000|
|35|37 3C 4F 37 42 62 F0 F0 F0|あかのあしわ|SPEED +15 (Equip)|9000|
|36|37 3B 4F 39 94 62 F0 F0 F0|あおのうでわ|ATTACK +5 (Equip)|1200|
|37|56 95 5E 4F 39 94 62 F0 F0|みどりのうでわ|ATTACK +10 (Equip)|3000|
|38|37 3C 4F 39 94 62 F0 F0 F0|あかのうでわ|ATTACK +15 (Equip)|9000|
|39|37 3B 4F 3C 64 57 5E F0 F0|あおのかんむり|DEFENCE +5 (Equip)|1200|
|40|56 95 5E 4F 3C 64 57 5E F0|みどりのかんむり|DEFENCE +10 (Equip)|3000|
|41|37 3C 4F 3C 64 57 5E F0 F0|あかのかんむり|DEFENCE +15 (Equip)|9000|
|42|37 3B 43 38 42 6C 39 F0 F0|あおすいしょう|SPECIAL +5 (Equip)|1200|
|43|56 95 5E 43 38 42 6C 39 F0|みどりすいしょう|SPECIAL +10 (Equip)|3000|
|44|37 3C 43 38 42 6C 39 F0 F0|あかすいしょう|SPECIAL +15 (Equip)|9000|
|45|37 3B 84 2E 77 2E 14 F0 F0|あおペンダント|EAVDE (STATUS) +5 (Equip)|1200|
|46|56 95 5E 84 2E 77 2E 14 F0|みどりペンダント|EAVDE (STATUS) +10 (Equip)|3000|
|47|37 3C 84 2E 77 2E 14 F0 F0|あかペンダント|EAVDE (STATUS) +15 (Equip)|9000|
|48|37 3B 4F 82 01 0D F0 F0 F0|あおのピアス|ACCURACY +5 (Equip)|1200|
|49|56 95 5E 4F 82 01 0D F0 F0|みどりのピアス|ACCURACY +10 (Equip)|3000|
|50|37 3C 4F 82 01 0D F0 F0 F0|あかのピアス|ACCURACY +15 (Equip)|9000|
|51|37 3B 4F 7C 2E 77 15 F0 F0|あおのバンダナ|EAVDE (ATTACK) +5 (Equip)|1200|
|52|56 95 5E 4F 7C 2E 77 15 F0|みどりのバンダナ|EAVDE (ATTACK) +10 (Equip)|3000|
|53|37 3C 4F 7C 2E 77 15 F0 F0|あかのバンダナ|EAVDE (ATTACK) +15 (Equip)|9000|
|54|77 20 CF C5 F0 F0 F0 F0 F0|ダミ-8|null|3000|
|55|77 20 CF C6 F0 F0 F0 F0 F0|ダミ-9|null|3000|
|56|77 20 CF BE BD F0 F0 F0 F0|ダミ-10|null|3000|
|57|77 20 CF BE BE F0 F0 F0 F0|ダミ-11|null|3000|
|58|77 20 CF BE BF F0 F0 F0 F0|ダミ-12|null|3000|
|59|77 20 CF BE C0 F0 F0 F0 F0|ダミ-13|null|3000|
|60|77 20 CF BE C1 F0 F0 F0 F0|ダミ-14|null|3000|
|61|77 20 CF BE C2 F0 F0 F0 F0|ダミ-15|null|3000|
|62|08 6E F0 F0 F0 F0 F0 F0 F0|クギ|Lower right tab item|60|
|63|1A CF 09 2E F0 F0 F0 F0 F0|ハ-ケン|Lower right tab item|72|
|64|46 40 38 4A F0 F0 F0 F0 F0|たこいと|Lower right tab item|60|
|65|2B CF 83 F0 F0 F0 F0 F0 F0|ロ-プ|Lower right tab item|72|
|66|84 CF 81 CF 15 02 1C F0 F0|ペ-パ-ナイフ|Lower right tab item|60|
|67|0B 7C 02 7C 29 15 02 1C F0|サバイバルナイフ|Lower right tab item|72|
|68|1F 6F 27 02 14 F0 F0 F0 F0|マグライト|Lower right tab item|120|
|69|0B CF 11 27 02 14 F0 F0 F0|サ-チライト|Lower right tab item|150|
|70|27 02 10 CF F0 F0 F0 F0 F0|ライタ-|Lower right tab item|60|
|71|6D 0D 7C CF 15 CF F0 F0 F0|ガスバ-ナ-|Lower right tab item|72|
|72|7B 27 02 24 CF F0 F0 F0 F0|ドライヤ-|Lower right tab item|120|
|73|0D 14 CF 7E F0 F0 F0 F0 F0|スト-ブ|Lower right tab item|150|
|74|3C 87 56 F0 F0 F0 F0 F0 F0|かがみ|Lower right tab item|288|
|75|0F CF 27 CF 0C 0D 13 21 F0|ソ-ラ-システム|Lower right tab item|336|
|76|27 73 06 0E F0 F0 F0 F0 F0|ラジカセ|Lower right tab item|126|
|77|0A 2E 85 F0 F0 F0 F0 F0 F0|コンポ|Lower right tab item|138|
|78|28 80 29 7C CF F0 F0 F0 F0|リボルバ-|Lower right tab item|120|
|79|1F 0C 2E 6D 2E F0 F0 F0 F0|マシンガン|Lower right tab item|150|
|80|4F 40 88 5E F0 F0 F0 F0 F0|のこぎり|Lower right tab item|312|
|81|11 32 CF 2E 0F CF F0 F0 F0|チェ-ンソ-|Lower right tab item|366|
|82|06 22 27 F0 F0 F0 F0 F0 F0|カメラ|Lower right tab item|630|
|83|7D 7A 05 06 22 27 F0 F0 F0|ビデオカメラ|Lower right tab item|780|
|84|43 38 4A 39 F0 F0 F0 F0 F0|すいとう|Lower right tab item|750|
|85|85 28 10 2E 08 F0 F0 F0 F0|ポリタンク|Lower right tab item|780|
|86|0C 36 7F 29 F0 F0 F0 F0 F0|ショベル|Lower right tab item|300|
|87|08 2A CF 2E F0 F0 F0 F0 F0|クレ-ン|Lower right tab item|360|
|88|04 2E 73 2E F0 F0 F0 F0 F0|エンジン|Lower right tab item|60|
|89|83 2B 84 27 04 2E 73 2E F0|プロペラエンジン|Lower right tab item|78|
|90|3C 64 42 6A 3E 91 55 F0 F0|かんしゃくだま|Lower right tab item|120|
|91|77 02 15 1F 02 14 F0 F0 F0|ダイナマイト|Lower right tab item|120|
|92|20 07 0B CF F0 F0 F0 F0 F0|ミキサ-|Lower right tab item|60|
|93|44 64 46 3E 3D F0 F0 F0 F0|せんたくき|Lower right tab item|60|
|94|81 27 0C 35 CF 14 F0 F0 F0|パラシュ-ト|Lower right tab item|300|
|95|6F 27 02 77 CF F0 F0 F0 F0|グライダ-|Lower right tab item|330|
|96|41 64 45 80 2E 7F F0 F0 F0|さんそボンベ|Lower right tab item|132|
|97|6D 0D 80 2E 7F F0 F0 F0 F0|ガスボンベ|Lower right tab item|126|
|98|05 CF 29 F0 F0 F0 F0 F0 F0|オ-ル|Lower right tab item|300|
|99|0D 08 28 35 CF F0 F0 F0 F0|スクリュ-|Lower right tab item|390|
|100|2B 09 D6 14 50 4B 97 F0 F0|ロケットはなび|Lower right tab item|720|
|101|20 0B 02 29 F0 F0 F0 F0 F0|ミサイル|Lower right tab item|900|
|102|29 15 11 03 21 F0 F0 F0 F0|ルナチウム|Lower right tab item|720|
|103|10 02 10 16 35 03 21 F0 F0|タイタニュウム|Lower right tab item|900|
|104|44 64 9D 39 3D F0 F0 F0 F0|せんぷうき|Lower right tab item|300|
|105|04 01 0A 2E F0 F0 F0 F0 F0|エアコン|Lower right tab item|360|
|106|06 1F F0 F0 F0 F0 F0 F0 F0|カマ|Lower right tab item|720|
|107|3E 41 3C 5E 3D F0 F0 F0 F0|くさかりき|Lower right tab item|960|
|108|56 8E 94 D5 9F 39 F0 F0 F0|みずでっぽう|Lower right tab item|720|
|109|85 2E 83 F0 F0 F0 F0 F0 F0|ポンプ|Lower right tab item|660|
|110|77 20 CF BE C3 F0 F0 F0 F0|ダミ-16|null|666|
|111|77 20 CF BE C4 F0 F0 F0 F0|ダミ-17|null|-|
|112|77 20 CF BE C5 F0 F0 F0 F0|ダミ-18|null|-|
|113|77 20 CF BE C6 F0 F0 F0 F0|ダミ-19|null|-|
|114|77 20 CF BF BD F0 F0 F0 F0|ダミ-20|null|-|
|115|77 20 CF BF BE F0 F0 F0 F0|ダミ-21|null|-|
|116|11 34 0A 29 4F 37 42 62 F0|チャコルのあしわ|Key Item|-|
|117|3B 39 3C 64 F0 F0 F0 F0 F0|おうかん|Key Item|-|
|118|01 2E 13 15 4F 10 18 F0 F0|アンテナのタネ|Key Item|-|
|119|06 6E F0 F0 F0 F0 F0 F0 F0|カギ|Key Item|-|
|120|4B 90 4F 98 D5 46 38 F0 F0|なぞのぶったい|Key Item|-|
|121|4B 90 4F 98 D5 46 38 F0 F0|なぞのぶったい|Key Item|-|
|122|4B 90 4F 98 D5 46 38 F0 F0|なぞのぶったい|Key Item|-|
|123|47 8E F0 F0 F0 F0 F0 F0 F0|ちず|Key Item|-|
|124|A3 0C 36 D6 14 F0 F0 F0 F0|Dショット|Key Item|-|
|125|56 8E 4F 46 55 F0 F0 F0 F0|みずのたま|Key Item|-|
|126|42 6C 39 58 38 42 6C F0 F0|しょうめいしょ|Key Item|-|
|127|4B 42 F0 F0 F0 F0 F0 F0 F0|なし|None|-|

! Flags

||Start Address||End Address||Length||Use||
|0x030055FF|0x0300578F|0x2|Boolean on if Denjuu has been seen|
|0x0300597F|0x03005B0F|0x2|Boolean on if Denjuu has been seen|

! Stat screen
*すばやさ - Speed
*こうげき - Attack 
*ぼうぎょ - Defence
*でんま - Denma; Special Attack