Primitive 0x000F - Break Point

See Also


SimPe Code

// Decompiled with JetBrains decompiler
// Type: pjse.BhavNameWizards.WizPrim0x000f
// Assembly: pjse.coder.plugin, Version=4.0.3349.37576, Culture=neutral, PublicKeyToken=null

using SimPe.PackedFiles.Wrapper;
using System;

namespace pjse.BhavNameWizards
{
  public class WizPrim0x000f : BhavWizPrim
  {
    public WizPrim0x000f(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 ((int) numArray[4] & 1) == 0 ? Localization.GetString("bwp0f_if") + " " + this.dataOwner(lng, numArray[2], numArray[0], numArray[1]) + " != 0" : Localization.GetString("bwp0f_ignored");
    }
  }
}