Valatros Cheater Reputation: 1
Joined: 21 Nov 2015 Posts: 36
|
Posted: Wed Feb 08, 2017 3:37 pm Post subject: Just whining and rambling about memory oddities |
|
|
What the fuck is with the way some of these things use the memory? I've been making tables for 3ds fire emblem games and the fucking items don't have an "Item type" and then an "Item amount" number oh nononono that would make fucking sense. Instead, because fuck me, a fucking vulnerary potion with 3 charges, the default amount, is the value "196760". Why? Because instead of seperating out the fucking values, they just replace the item wholesale when you use it. -65536 per charge. FOR FUCKING EVERYTHING. OH YOU HAVE A BASIC IRON AXE THAT COMES WITH 40 DURABILITY? IT'S NUMBER IS "2621499" because 2,621,440 of that. That's right, all but fucking 50 of it is from fucking charges. 65536+50 is a 1 charge fucking axe.
But that's not enough. Nono. Equipped isn't its own value either! FUCK seperating shit out in a comprehensible manner that's dogshit, no, we're gonna just straight up add 268,435,456 to WHATEVERTHEFUCKITIS and BAM that makes it equipped. Why? WHY THAT NUMBER? NO IDEA. YOU GOOGLE IT AND APPARENTLY, QUOTE,
Quote: | 268,435,456 is an even composite number. It is composed of a single prime number multiplied by itself twenty-seven times. 2^28 |
Why does that matter? Some weird math fetish? I don't even... what. WHAT THE ACTUAL FUCK. AGH. THAT'S JUST SO FUCKING RANDOM I DON'T EVEN agh.
AND DON'T EVEN GET ME STARTED ON HOW IT STORES FUCKING EXPERIENCE I'M NOT EVEN SURE THE GAME KNOWS WTF ITS DOING WITH EXP.
|
|