Difference between revisions of "059A"
Jump to navigation
Jump to search
(Created page with "{{Icon|VC}} {{Icon|SA}} '''IS_AUSTRALIAN_GAME''' <hr /> '''Description''' : Checks if the game is Australian '''Syntax''' : 059A: australian_game '''Parameter''' : [''n...") |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|VC}} {{Icon|SA}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} {{Icon|SA}} | |
− | + | | command = IS_AUSTRALIAN_GAME | |
− | + | | description = Checks if the game is Australian | |
− | + | | syntax1 = 059A: australian_game | |
− | + | | p1t = ''none'' | |
− | '' | + | }} |
− | |||
This conditional opcode always returns true as the result for the Australian version of the game. Otherwise, it always returns false. The return result is hardcoded into the game. Most mods generally support non-Australian versions of the games so this opcode can generally be used to return false when returning from a [[0050|gosub]] or an [[0AB1|SCM function]]. | This conditional opcode always returns true as the result for the Australian version of the game. Otherwise, it always returns false. The return result is hardcoded into the game. Most mods generally support non-Australian versions of the games so this opcode can generally be used to return false when returning from a [[0050|gosub]] or an [[0AB1|SCM function]]. | ||
Line 12: | Line 11: | ||
== Keywords == | == Keywords == | ||
Australia, Australian, game, return, false | Australia, Australian, game, return, false | ||
− | |||
− |
Latest revision as of 07:15, 7 November 2016
- Description
- Checks if the game is Australian
- Syntax
- 059A: australian_game
- Parameter
- none
This conditional opcode always returns true as the result for the Australian version of the game. Otherwise, it always returns false. The return result is hardcoded into the game. Most mods generally support non-Australian versions of the games so this opcode can generally be used to return false when returning from a gosub or an SCM function.
Keywords
Australia, Australian, game, return, false