April 25, 2018, 10:27:57 am
Please
login
or
register
.
Login
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Glitch City Laboratories Forums
Home
Help
Search
Calendar
Members
View the memberlist
Search For Members
Login
Register
News:
Report any bugs you find on the WIKI in
this topic
.
Glitch City Laboratories Forums
»
Lab δ: Tech
»
Programming/Scripting/Development/Web Design
»
Hey, BASIC Programmers...
Main Menu
Main Page
Forums
Recent changes
Random page
Help
Databases
GlitchDex
AreaDex
AttackDex
DexDex
ItemDex
StatDex
TMHMDex
TrainerDex
TypeDex
UnownDex
More
Major Glitches
Trainer escape glitch
Old man trick
Celebi Egg trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg data 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 glitches
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
Glitch Pokémon cries
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!
Technical
Site Source Code
Search Wiki
Search Forums
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Hey, BASIC Programmers... (Read 1723 times)
0 Members and 1 Guest are viewing this topic.
Brocco Guy
Βροκκω Γαι
Member
+
Offline
Gender:
d(^.^)b
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
.
Logged
xparasite9
Member
+
Offline
FALCON...PAAAAUUUUNNNNNCH!
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
»
Logged
⑨
Gamefreak
GCLF Member
Offline
Gender:
Computer Geek
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...
Logged
Remember.....Missingno is in EVERY Pokemon game...
Print
Pages: [
1
]
Go Up
« previous
next »
Glitch City Laboratories Forums
»
Lab δ: Tech
»
Programming/Scripting/Development/Web Design
»
Hey, BASIC Programmers...