Difference between revisions of "SCUMM/V6 opcodes"

Jump to navigation Jump to search
340 bytes added ,  13:47, 3 May 2007
→‎isAnyOf: added from http://www.scummvm.org/docs/specs/scrp-v6.php
(→‎gt: added from http://www.scummvm.org/docs/specs/scrp-v6.php)
(→‎isAnyOf: added from http://www.scummvm.org/docs/specs/scrp-v6.php)
Line 413: Line 413:


==isAnyOf==
==isAnyOf==
'''Encoding'''
''AD''
'''Stack'''
''( arg1 ,  arg2 ,  arg3 , ...,  argn ,  n ,  value  :  bool )''
'''Operation'''
If value is any of arg1 .. argn , bool := 1, otherwise bool := 0
Tests to see if value is equal to any of the passed in arguments. If n is less than the number of entries on the stack, undefined behaviour will result.


==MM 98 isSoundRunning==
==MM 98 isSoundRunning==
334

edits

Navigation menu