mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fix typo
This commit is contained in:
parent
f9d560aa78
commit
bdf908ea7e
3 changed files with 9 additions and 9 deletions
|
|
@ -2940,19 +2940,19 @@ function position_based_random_u16()
|
|||
end
|
||||
|
||||
--- @return number
|
||||
--- Generates a psuedo random float between 0.0 and 1.0
|
||||
--- Generates a pseudo random float between 0.0 and 1.0
|
||||
function random_float()
|
||||
-- ...
|
||||
end
|
||||
|
||||
--- @return integer
|
||||
--- Returns either 1 or -1 with a psuedo 50:50 chance
|
||||
--- Returns either 1 or -1 with a pseudo 50:50 chance
|
||||
function random_sign()
|
||||
-- ...
|
||||
end
|
||||
|
||||
--- @return integer
|
||||
--- Generates a psuedo random integer between 0 and 65535
|
||||
--- Generates a pseudo random integer between 0 and 65535
|
||||
function random_u16()
|
||||
-- ...
|
||||
end
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ Sets the current object's position to random integers between 0 and 65536
|
|||
## [random_float](#random_float)
|
||||
|
||||
### Description
|
||||
Generates a psuedo random float between 0.0 and 1.0
|
||||
Generates a pseudo random float between 0.0 and 1.0
|
||||
|
||||
### Lua Example
|
||||
`local numberValue = random_float()`
|
||||
|
|
@ -121,7 +121,7 @@ Generates a psuedo random float between 0.0 and 1.0
|
|||
## [random_sign](#random_sign)
|
||||
|
||||
### Description
|
||||
Returns either 1 or -1 with a psuedo 50:50 chance
|
||||
Returns either 1 or -1 with a pseudo 50:50 chance
|
||||
|
||||
### Lua Example
|
||||
`local integerValue = random_sign()`
|
||||
|
|
@ -142,7 +142,7 @@ Returns either 1 or -1 with a psuedo 50:50 chance
|
|||
## [random_u16](#random_u16)
|
||||
|
||||
### Description
|
||||
Generates a psuedo random integer between 0 and 65535
|
||||
Generates a pseudo random integer between 0 and 65535
|
||||
|
||||
### Lua Example
|
||||
`local integerValue = random_u16()`
|
||||
|
|
|
|||
|
|
@ -19,11 +19,11 @@
|
|||
|
||||
#define obj_and_int(object, offset, value) object->OBJECT_FIELD_S32(offset) &= (s32)(value)
|
||||
|
||||
/* |description|Generates a psuedo random integer between 0 and 65535|descriptionEnd| */
|
||||
/* |description|Generates a pseudo random integer between 0 and 65535|descriptionEnd| */
|
||||
u16 random_u16(void);
|
||||
/* |description|Generates a psuedo random float between 0.0 and 1.0|descriptionEnd| */
|
||||
/* |description|Generates a pseudo random float between 0.0 and 1.0|descriptionEnd| */
|
||||
float random_float(void);
|
||||
/* |description|Returns either 1 or -1 with a psuedo 50:50 chance|descriptionEnd| */
|
||||
/* |description|Returns either 1 or -1 with a pseudo 50:50 chance|descriptionEnd| */
|
||||
s32 random_sign(void);
|
||||
|
||||
void stub_behavior_script_2(void);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue