gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Code for random

#5586 - antysix - Fri May 02, 2003 12:38 pm

I'm looking for a function for random, like if you call the function
like Random(6) that it rolls a six sided dice and returns true if
the dice rolled on 1.
Can someone help me?
_________________
Currently playing: NGC: Metroid Prime
GBA: Golden Sun: The Lost Age

Currently developping: Project ~ [ Phail ]

#5587 - Daikath - Fri May 02, 2003 12:46 pm

http://forum.gbadev.org/viewtopic.php?t=873
_________________
?There are no stupid questions but there are a LOT of inquisitive idiots.?