Keitai Denjuu Telefang is a Pokemon-like ripoff game in which the protagonist, Shigeki, is tasked to beat the crap out of the world's civilians for their phone number, all while saving them from Umbrella the Sanaeba Pharmaceutical Company. Our hero however, decides that instead of traversing around the world saving people you just beat up, why not simply eliminate the source of all evil? In the end, the world is saved, and Shigeki is given the best award life can offer - a blue tinted slideshow of names with a grammatically incorrect congratulation message.

Game objectives

  • Emulator used: vba-v24m-svn422
  • Breaks the game
  • Breaks the previous record
  • Breaks the site rules guidelines

Comments

This run improves upon the previous run by better use of the map glitch originally discovered by accident. It also uses a password, but for good reasons. The previous submission had complaints about the battles in the begining being too long, so this time, for the sake of entertainment, a secret denjuu was used to speed up a battle. I'm sure its reasonable, since not much people here would enjoy watching a 2 minute text based battle...in blue.
Oh, and while MisterChess did not do any actual TASing, his knowledge in how the glitches work was so valuable, that without it, this run would've never existed. It is for this reason he deserves to be a coauthor.

Glitch by glitch comments

While I was the one who discovered the glitches, it was MisterChess who figured out the details behind them. So the following is mostly a copy-paste of what MisterChess figured out.

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.
Now every frame, the gameboy does what's called a V-Blank interrupt, where it stops executing whatever code it's executing and calls a different section of code. This happens at regular intervals, and can interrupt any part of the game program, including the part where those values are copied.
Now the thing with SRAM. The game can turn it off. When that happens, it can't be written to, and reads will return hexadecimal FF. At least I think it's FF. Anyway, every few frames when the phone is ringing, SRAM gets turned off during V-Blank. Which means when it goes back to storing those values, it fails to store them. And some of the values that were already there don't get changed. So only part of the data there is saved.

Forced Teleport

First off the screen you warp to is determined by C906. 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 destination is also determined by C904, which tells you where you are... overworld, a house or cave, datacrystal has a list of locations. And 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 points to... uh... well, it's a pointer. Eventually it determines what part of the code will be executed. So when C33F got overwritten, it messed up that pointer, and jumped to a part of code it shouldn't execute. Initially it jumps to 6F0B of ROM bank C (32F0B) and executes that. That address is actual code, but it's not being used the way it's supposed to. This produces the glitchy textbox. It also corrupts the NPC data. And while it hasn't been figured out how the corruption changes things, it is known that it results in a jump to 8BFA, in video memory (VRAM).
The thing about VRAM though is every so often, every 100 microseconds or so, it turns off for a little while. And just like SRAM, reading it and executing it will treat it as FF (255 decimal). So slight timing issues will give different code.
The problem is that in order to get to the glitchy state, The timing with the interrupt needs to be very precise. If the timing is even slightly different, it won't work. Anyway, once in the glitchy state, we could've use the code we're not supposed to be in to write to C3E1, activating the credits, and finishing the game in five minutes. But that failed to occur, so C906 was changed instead.

Other comments

Important Addresses

AddressFunctionNotes
C906Warp DestinationChange this with Glitch State
C23E-C23FNPC PointerChange this with Map Glitch
C2BE-C2BFNPC PointerChange this with Map Glitch
C2DE-C2DFNPC PointerChange this with Map Glitch
C2FE-C2FFNPC PointerChange this with Map Glitch
C31E-C31FNPC PointerChange this with Map Glitch
C33E-C33FNPC PointerChange this with Map Glitch
C3E0-C3E1Event TriggerChange this with Glitch State to 51 for the Credits

Possible Improvements

Write to C3E1, activate the credits; finishing the game in five minutes. :)

Baxter: Submission file replaced at the author's request.
FractalFusion: Judging.
FractalFusion: The use of "passwords" here to avoid a very long battle is justified by jlun2. I don't even consider the secret numbers as passwords, and in any case, it doesn't break the game any more than it is already broken. Accepting as an improvement to the published run.

natt: processing


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15628
Location: 127.0.0.1
Skilled player (1743)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
To anyone interested, there are some mistakes in the run, but fixing them made warping to Bulian Site seemingly impossible. =/ Also, the run initially doesn't use a secret Denjuu, but it would make the first battle with Bashou unbearable, so for the sake of entertainment, it was used.
mklip2001
He/Him
Editor
Joined: 6/23/2009
Posts: 2227
Location: Georgia, USA
Wow, that's a really incredible rerecord ratio and a significant time savings! I think I'll have to wait, though, until there's more submission text before I can check this out, because glitchy runs like these are generally quite confusing without explanation. Also, I'm not really familiar with the game.
Used to be a frequent submissions commenter. My new computer has had some issues running emulators, so I've been here more sporadically. Still haven't gotten around to actually TASing yet... I was going to improve Kid Dracula for GB. It seems I was beaten to it, though, with a recent awesome run by Hetfield90 and StarvinStruthers. (http://tasvideos.org/2928M.html.) Thanks to goofydylan8 for running Gargoyle's Quest 2 because I mentioned the game! (http://tasvideos.org/2001M.html) Thanks to feos and MESHUGGAH for taking up runs of Duck Tales 2 because of my old signature! Thanks also to Samsara for finishing a Treasure Master run. From the submission comments:
Shoutouts and thanks to mklip2001 for arguably being the nicest and most supportive person on the forums.
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4038
I really like the new glitch (though it makes this game look even more like Pokémon) and how much time it saves. This seems like a really short run now. Nice job. Your hard work paid off. Yes vote!
Editor
Joined: 3/10/2010
Posts: 899
Location: Sweden
<Explain>
Skilled player (1743)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
henke37 wrote:
<Explain>
Hold on, I'm trying (again) to see if changing certain actions earlier in the run would affect the glitch so the warp can be applied to the "fixed" version mentioned here. I doubt it, but this glitch is chaotic, so who knows?
Skilled player (1743)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
Uh... After trying for the whole afternoon, here's the result. Yea, wow. Would a judge or moderator please replace the submitted file with this? It saves frames from applying those fixes and lag reduction. Edit: Yes, I know that the rest of the movie after the glitch is blue. I'm forced to do this, since it kills off lag. Previous Movie: 3206 lag frames Blue Movie: 2900 lag frames BTW, it was assumed since this movie, which has more messed up colors, got published, this improvement also has a chance.
Skilled player (1743)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
Guga
He/Him
Joined: 1/17/2012
Posts: 838
Location: Chile
Err... What the hell just happened? That was insane. Yes vote.
Skilled player (1743)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
Skilled player (1743)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
Very nice improvement to the published movie, very glitchy. Yes vote.
Joined: 8/26/2007
Posts: 7
Wow, this TAS is incredible. That's saying something, considering the last one was quite surprising too. I really don't know what's going on between the time that the phone rings, and the battle against Bashou. You answer it, then there are glitchy text boxes, then you arbitrarily warp to Burion Ruins, where the top row of colors is glitchy. Then, Shigeki's sprite also gets corrupted, and when you enter the door, it gets even crazier: The warp animation starts (even though you aren't warping anywhere), with glitchy colors. Then when the battle starts, the palette gets even more messed up (and never changes), and the tiles constantly get glitchy for the rest of the run. Sorry I had to mention things you already know, but that just baffles me. Although the non-changing blue palette and the buggy tiles sort of make sense. It reminds me of when Pokémon Gold/Silver/Crystal crash, where the same crazy effects occur. And I've also seen this myself previously when hacking the game badly... it seems like the game thinks it's running in GB mode. So, it never changes the palettes when that occurs. It's also likely why the tiles get all glitchy: As far as I know, they always do that, but normally, the screen fades out when it occurs to hide the changing tiles. But in this case, the palette never changes, so the fade-out transition between screens doesn't occur. Weird. And that missing Doomsday sprite also makes me laugh. Yeah, I was already aware of it long ago, but it's still funny. As is the "Thank you for your playing!" text at the end. Definitely voting yes here.
Skilled player (1743)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
Blaziken257 wrote:
Wow, this TAS is incredible. That's saying something, considering the last one was quite surprising too.
This glitch can get you 100% phonebook/map in less than 10 minutes. ;) Not to mention that it is theoretically possible to write to C3E1, activate the credits; finishing the game in five minutes. :)
Blaziken257 wrote:
Wow, you managed to break Telefang even more than you previously had already.
Actually, most of the discoveries were made by MisterChess, but thanks, I guess.
Guga
He/Him
Joined: 1/17/2012
Posts: 838
Location: Chile
jlun2 wrote:
Suggested Screenshot: Frame 18928
I don't know, but I like this one better: Frame 18707 Also, I'm bumping this so a judge can see it and claim it.
NitroGenesis
He/Him
Editor, Experienced player (556)
Joined: 12/24/2009
Posts: 1873
First few minutes I was like, "yawn, why the fuck did so many people yes this?" I'm about to stop watchinHOLY SHIT WTF Add another yes vote to the pile.
YoungJ1997lol wrote:
Normally i would say Yes, but thennI thought "its not the same hack" so ill stick with meh.
Editor, Expert player (2080)
Joined: 6/15/2005
Posts: 3284
I have a couple questions. - Why do you have to phone 13 numbers at the beginning? Is it necessary to gain even one secret Denjuu? - You seem to imply that, without a secret Denjuu, the fight against Bashou is 2 minutes of text and in blue. How do you know it takes 2 minutes? Sorry, I'm not familiar with this game.
Skilled player (1743)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
FractalFusion wrote:
I have a couple questions. - Why do you have to phone 13 numbers at the beginning? Is it necessary to gain even one secret Denjuu? Sorry, I'm not familiar with this game.
The phone, and therefore the glitch, is trigger at intervals of 5 minutes in-game time, so I decided to recruit all the secret denjuu to reduce the amount of time I walk around in circles doing nothing.
FractalFusion wrote:
You seem to imply that, without a secret Denjuu, the fight against Bashou is 2 minutes of text and in blue. How do you know it takes 2 minutes?
Without a secret denjuu, I would be stuck with a level 5 starter with only 1 offensive attack. The 2 minutes was an estimate based on the fact that the previous run, which didn't use secret denjuu, took 1 minute+ with the snake enemy, which is at a lower level. Since not only is the damage towards Bashou is around the same, but it also has alot higher health, it was predicted that it would take ~2x longer.
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
syncs on vba-v24m-svn422
  File: Keitai Denjuu Telefang - Speed Version (J) [C][!].gbc
CRC-32: fb528f66
   MD4: 64979f41ea7788b740146361ae8f3a8a
   MD5: ebfe05828463cc004898e6a95ee57fea
 SHA-1: 1c273f9078c580e85e5c49e7114058f3e0fe5cca
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15628
Location: 127.0.0.1
This movie has been published. The posts before this message apply to the submission, and posts after this message apply to the published movie. ---- [2026] GBC Keitai Denjuu Telefang: Speed Version "warp glitch" by jlun2 & MisterChess in 07:44.00
Editor, Reviewer, Skilled player (1361)
Joined: 9/12/2016
Posts: 1646
Location: Italy
I have to report that the encode currently used for the publication continues far after the credits ended. I think it should probably be replaced.
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"