Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Hey, BASIC Programmers...  (Read 1943 times)

0 Members and 1 Guest are viewing this topic.

Brocco Guy

  • Βροκκω Γαι
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • d(^.^)b
    • View Profile
Hey, BASIC Programmers...
« on: April 01, 2009, 03:05:57 pm »
I need a program for the TI-84+ SE to solve these two equations:

Hit Point IV = ((Stat ? Level Value - 10) * 100 / Level Value ) - 2 * Base Stat ? Math.Floor(EV / 4)

and

IV = ((Math.Ceiling(Stat / Personality Value) - 5) * 100 / Level Value) - 2 * Base Stat ? Math.Floor(Effort Points / 4)

So, if anybody is up to the challenge, I would like it so that you input the values and the end result comes out.
Yeah, I don't know the base stats of every Pokemon, but I suppose I can program that.

xparasite9

  • *technically* the first to discover the foundations of the Move 0x00 ACE glitch but this was at a time (mid-aughties) no-one even thought about ACE
  • Oldbie
  • *
  • Offline Offline
  • FALCON...PAAAAUUUUNNNNNCH!
    • View Profile
Re: Hey, BASIC Programmers...
« Reply #1 on: April 04, 2009, 10:53:38 pm »
Easy. In Fact, I never even programmed it. a simple Google search might have solved your problem. Lemme dig around for it...
EDIT: k, got it, and uploaded it. btw, if you're just looking for an IV calculator, I'll include a good one from serebii.net
« Last Edit: April 04, 2009, 11:23:23 pm by xparasite9 »

Gamefreak

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Computer Geek
    • View Profile
Re: Hey, BASIC Programmers...
« Reply #2 on: May 04, 2010, 11:19:27 am »
BASIC calculates everything inside parenthesis first, and then goes to the next level from there. It cannot do algebra or things of that nature. Also, you would need to specify multiplication operators cuz BASIC doesn't know that parenthesis after a variable/number means to multiply.

IV = ((Math.Ceiling(Stat / Personality Value) - 5) * 100 / Level Value) - 2 * Base Stat ? Math.Floor(Effort Points / 4)

Would likely be something like:

IV = ((Math.Ceiling * (Stat / Personality Value) - 5) * 100 / Level Value) - 2 * Base Stat ? Math.Floor * (Effort Points / 4)

I'm not sure what the question mark here stands for, so I'm not sure on how to proceed from there...
Remember.....Missingno is in EVERY Pokemon game...