Advertisement
cloudmax

ROM Patcher Condition format

Jan 28th, 2014
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. ;First we get the ROM ID and Version number as a 5byte value and store it in variable romID.
  2. ;Then we perform a condition to see if var romID is equal to 0x4E5A4C450F. The 2nd parameter is the condition ID.
  3. ;If they are not equal, all lines until an endCon command with the same ID as the con command will be skipped.
  4.  
  5. var,romID,([0x3B]*0x100)+([0x3C]&0xFF)
  6. con,ROM,{romID}==0x4E5A4C450F
  7. ;this line will be skipped entirely if the condition above isn't met.
  8. endCon,ROM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement