Difference between revisions of "User:Mddass"

From Crash Bandicoot Hacking Wiki
Jump to navigation Jump to search
(Crash 2 Return/Error Codes)
(Crash 2 Return/Error Codes)
Line 9: Line 9:
 
|-
 
|-
 
|0xFFFFFF01 (-0xFF)
 
|0xFFFFFF01 (-0xFF)
|Success
 
 
|No error.
 
|No error.
 +
|
 
|-
 
|-
 
|0xFFFFFF02 (-0xFE)
 
|0xFFFFFF02 (-0xFE)
|Entry find error
 
 
|Error finding specified entry.
 
|Error finding specified entry.
 +
|
 
|-
 
|-
 
|
 
|
Line 21: Line 21:
 
|-
 
|-
 
|0xFFFFFFE5 (-0x1B)
 
|0xFFFFFFE5 (-0x1B)
|State error
+
|The specified object state is invalid.
|The specified object state is invalid. (i.e. 255)
+
|For example, when an object's subtype corresponds to state 255 (invalid).
 
|-
 
|-
 
|0xFFFFFFE6 (-0x1A)
 
|0xFFFFFFE6 (-0x1A)
Line 33: Line 33:
 
|-
 
|-
 
|0xFFFFFFF2 (-0xE)
 
|0xFFFFFFF2 (-0xE)
|Object init failed
 
 
|Error initiating object.
 
|Error initiating object.
 +
|Returned on state change if object status b-flag 0x10000000 is set or if state is 255 (invalid), etc.
 
|-
 
|-
 
|}
 
|}

Revision as of 20:05, 30 November 2019

testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttest

Crash 2 Return/Error Codes

Engine assumes codes range from 0xFFFFFF01 to 0xFFFFFFFF.

Code Meaning Additional Notes
0xFFFFFF01 (-0xFF) No error.
0xFFFFFF02 (-0xFE) Error finding specified entry.
0xFFFFFFE5 (-0x1B) The specified object state is invalid. For example, when an object's subtype corresponds to state 255 (invalid).
0xFFFFFFE6 (-0x1A) Event failed? GOOL interpreter failed?
0xFFFFFFF2 (-0xE) Error initiating object. Returned on state change if object status b-flag 0x10000000 is set or if state is 255 (invalid), etc.