Computer HardwareXbox GamesGameCubePlaystation 2PSOnePC/Windows GamesGameboy AdvanceDreamcastNintendo 64Gameboy ColorNintendo DSSony PSPXbox 360Nintendo Wii GamesPS3 Games

All Pokémon Forums
Neoseeker Forums » Nintendo DS Games » RPG/Adventure » Pokémon Diamond » The Magic Number

Pokémon Diamond Forum

profile  pro reviews  user reviews  cheats  FAQs/Guides  screens  wiki  discussion board  

Moderated by: Quierta
REPLY TO THIS THREAD   START NEW THREAD
Options: Print   subscribe   remove   send to friend   PM this thread to a friendNeoPM
Topic: The Magic Number
Azeman
Occupy my Brain!!!
ultra seeker



Azeman's profileAzeman's neohomeEmail AzemanNeoPM Azeman
total posts: 1456
since: Jan 2008
Jul 27, 08 at 01:02AM
The Magic Number

For a while now, I've been seeing the number 255 appearing in lots of places in D/P. any stat can only have 255 evs. any pokemon can only have 510 evs (255 x 2), the highest base stat, blissey's HP, is 255, 2 eggs will always hatch at an interval which is a multiple of 255.

so has anyone else noticed this?



-------------------


want a cool banner like mine? PM me!
quote   quick quote   edit   quick edit   del  report
Members, log in or register to remove these ads.
Trixster99
New Account ~ Urban
high on "N"



Trixster99's profileNeoPM Trixster99
total posts: 707
since: Apr 2008
Jul 27, 08 at 01:05AM
re: The Magic Number

i think there was a thread about this a long time ago and alot of games have 255 in them as well. i think it's got somthing to do with programing or memory or somthing



-------------------

Thanks Phenomena for Avvie
quote   quick quote   edit   quick edit   del  report
PureStealth
Goldengleam
Hooked on Neo



PureStealth's profileNeoPM PureStealth
total posts: 4310
since: Oct 2005
Jul 27, 08 at 01:16AM
re: The Magic Number

A bit is the smallest piece of data (either 0 or 1), and game data on the smaller machines is typically stored as a single word (a word being a group of 8 bits). With this system, a single word stores 2^8 (256) possible values.

Since we need to be able to store a value as "0", the range of values are from 0-255.

Also note that 255 is FF in hexadecimal (base 16 numbering system) and a table of data of values to a range of 255 can be represented easily this way with only 2 characters.



-------------------
FSF Supporter
These 4 Freedoms are REQUIRED for the users of all software:
  • To Run for any purpose
  • To Study
  • To Redistribute
  • To Improve
quote   quick quote   edit   quick edit   del  report
AKTKWNG
Why... So... SERIOUS!
forum fever



AKTKWNG's profileNeoPM AKTKWNG
total posts: 391
since: Mar 2008
Jul 27, 08 at 04:37AM
re: The Magic Number

quote PureStealth
game data on the smaller machines is typically stored as a single word (a word being a group of 8 bits).
that was nicely put, but i always thought 8 bits made up a byte (as in megabyte, gigabyte etc.), or am i wrong?



-------------------

MKDS FC: 193404-175273
quote   quick quote   edit   quick edit   del  report
Luigi Panache
Proud to be an atheist!
forum fever



Luigi Panache's profileNeoPM Luigi Panache
since: Aug 2007
Jul 27, 08 at 09:43AM
re: The Magic Number

You are wrong or right depending on the framework of the machine. As programmers and engineers create better systems, the definition of a byte will change. I'm sure you've heard of 32-bit systems, and 64-bit frameworks. These systems use different ways to 'map' the bits in memory and ram, thus warping the bit system from 8. A word has 8 bits. A Dword has 16. A Qword has 32. I forget the term for 64-bit words.



-------------------
Luigi's Back, Baby!
quote   quick quote   edit   quick edit   del  report
PureStealth
Goldengleam
Hooked on Neo



PureStealth's profileNeoPM PureStealth
total posts: 4310
since: Oct 2005
Jul 27, 08 at 11:25AM
re: The Magic Number

As i said, we are talking about smaller memory systems for things like pokemon. I am fully aware of modern 32 and 64 bit systems, being both a programmer and an engineer myself (at least in training ).

For devices like the GameBoy (where the current pokemon stat system started) memory was very tight, and the storage of such values reflects this.



-------------------
FSF Supporter
These 4 Freedoms are REQUIRED for the users of all software:
  • To Run for any purpose
  • To Study
  • To Redistribute
  • To Improve
quote   quick quote   edit   quick edit   del  report
Luigi Panache
Proud to be an atheist!
forum fever



Luigi Panache's profileNeoPM Luigi Panache
since: Aug 2007
Jul 27, 08 at 09:58PM
re: The Magic Number

Actually, the original GameBoy was 8 bit with a black and white LCD for battery and manufacturing purposes. A better framework was not desired, therefore the memory was not as much 'constricted' as it was 'ignored.'

And by the way, my previous post was directed to AKTKWNG. I didn't say you were wrong at all. I actually thought your answer was well-put.



-------------------
Luigi's Back, Baby!
quote   quick quote   edit   quick edit   del  report
PureStealth
Goldengleam
Hooked on Neo



PureStealth's profileNeoPM PureStealth
total posts: 4310
since: Oct 2005
Jul 27, 08 at 11:47PM
re: The Magic Number

Fair enough, though the reasoning behind how and why the GB memory was designed/manufactured does not change the fact that the environment each game has to work with is a tight memory one.

Also after double-word (D-word) and quadruple-word (Q-word) comes double,quadruple-word (DQ-word)



-------------------
FSF Supporter
These 4 Freedoms are REQUIRED for the users of all software:
  • To Run for any purpose
  • To Study
  • To Redistribute
  • To Improve
quote   quick quote   edit   quick edit   del  report
AKTKWNG
Why... So... SERIOUS!
forum fever



AKTKWNG's profileNeoPM AKTKWNG
total posts: 391
since: Mar 2008
Jul 28, 08 at 03:15AM
re: The Magic Number

well, i apologise for my outdated IT knowledge. the rest was well-put, btw



-------------------

MKDS FC: 193404-175273
quote   quick quote   edit   quick edit   del  report
[All dates in (PT) time]Threads List   « Next Newest   Next Oldest »
REPLY TO THIS THREAD   START A NEW THREAD



Jump to another forum:

Powered by neoforums v0.9.4 (equilibrium)
Copyright Neo Era Media, Inc. 1999-2008

neoseeker forum community
Neoseeker.com   |   Forum Rules   |   Forum FAQ   |   Neoseeker Terms of Use   |   Supermods On Duty [ server id: nova ··· elapsed: 0.0901839733]
Affiliated sites:   GameGrep - Football Manager Wiki - Halo Wiki - MGS Wiki - GTA Wiki - Smackdown Wiki - Zelda Wiki - PS2seeker - Xbox seeker - GC seeker - DEVPEN - GFXcess