Primitive 0x0030 - Stop ALL Sounds
This primitive stops all sounds for the specified object.
There is no SimPe wizard for this instruction, so the following table details the meaning of each of the operands.
Operand | Description | Operand Values |
---|---|---|
0 & 1 | Controls what to stop the sounds for | 0x0000: Me Otherwise: Stack Object |
2 thru 15 | Unused |
// Decompiled with JetBrains decompiler // Type: pjse.BhavNameWizards.WizPrim0x0030 // Assembly: pjse.coder.plugin, Version=4.0.3349.37576, Culture=neutral, PublicKeyToken=null using SimPe.PackedFiles.Wrapper; using System; namespace pjse.BhavNameWizards { public class WizPrim0x0030 : BhavWizPrim { public WizPrim0x0030(Instruction i) : base(i) { } protected override string Operands(bool lng) { byte[] numArray = new byte[16]; ((byte[]) this.instruction.Operands).CopyTo((Array) numArray, 0); ((byte[]) this.instruction.Reserved1).CopyTo((Array) numArray, 8); return BhavWiz.ToShort(numArray[0], numArray[1]) != (ushort) 0 ? BhavWiz.dnStkOb() : BhavWiz.dnMe(); } } }