Banner
Views: 943,274,561
Time:
10 users online: Bo8ox, DasFueller, Gulaschko, HammerGuy,  JamesD28, Kevin,  Maxodex, muzzl, Nanita, supermerkurii - Guests: 81 - Bots: 84 Users: 52,451 (1,995 active)
Latest: Nairobii
Tip: Stay up-to-date with new tool and resource releases on the SMW hacking scene by viewing this forum.
Not logged in.
[SOLVED] Extra Property Byte help with Bomb Shell Koopa Sprite
Forum Index - SMW Hacking - SMW Hacking Help - [SOLVED] Extra Property Byte help with Bomb Shell Koopa Sprite
Pages: « 1 » Link
Hi, I'm trying to get it so my bombshell koopa stays on ledges.

I have put the .cfg file into the cfg editor but i'm stuck on what to do next. The Extra property bytes field in cfg editor doesn't accept 'l' or 'f' as a value (as per the code below)...

Can anyone let me know what I'm not understanding?

Thanks very much!

Code
;=============================================================
; Bomb Koopa
; Description: A koopa which, when stomped, explodes after a
; certain amount of time.
;
; Uses first extra bit: NO
;
;Extra property byte 1:
;   lf------
;      l - Stay on ledges
;      f - Follow Mario
;=============================================================
; By Erik557
; Inspired by mikeyk's variant, but recoded from scratch.
;=============================================================
lf------ is the format of a number in binary. If you want to turn on the stay on ledges property, you put 1 in the 'l' bit, otherwise you have it as 0. Assuming you want the follow functionality off (so 'f' is 0), the binary number you want is

#%10000000
(Generally, the dash/unused bits can be/are meant to be left as zero.)

You must then convert that number to hexadecimal, since that is the format the .cfg editor expects. You can use the Windows calculator for that.

#%10000000 = #$80

So 80 is the value you want to put in the field.

--------------------
Thank you very much for your help! It works. Learned something new today.
Pages: « 1 » Link
Forum Index - SMW Hacking - SMW Hacking Help - [SOLVED] Extra Property Byte help with Bomb Shell Koopa Sprite

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks