Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg corruption glitch (Glitzer Popping)
Tweaking
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitch
More

Other Glitch Categories
Glitches by generation
Glitches between two generations
Japan-only/language specific glitches
Music glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Officially acknowledged glitches
Recurring glitches
Dead glitches

References
Pokémon GameShark codes
The Big HEX List
GB programming
Curiosities
Debugging features
Easter eggs
Error traps
Glitch areas
Glitch myths
Non-glitch exploits
Placeholder texts
Pokémon glitch terminology
Unused content and prerelease information

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Search Wiki

 

Search Forums

 

Author Topic: Hey, BASIC Programmers...  (Read 1523 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

  • resigned long after being stripped of title
  • Member+
  • *
  • 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...