Banner
Views: 874,186,460
Time:
15 users online: Arash, Beebo, BoBTF, Chachii, FlashHacks, Mario is the best, NoMoreStars, Notto, Rilla Roo, ShootingStarr,  shovda, smallroguefish,  Teows, thetic24, UltiMario - Guests: 92 - Bots: 97 Users: 48,697 (2,422 active)
Latest: lyndis
Not logged in.
$0EF0F0 by HammerBrother
Forum Index - Valley of Bowser - Moderation Questions - Hijack Map - $0EF0F0 by HammerBrother
Pages: « 1 » Link
Address Length Type Description Submitter
$0EF0F0 3856 bytes Miscellaneous Originally empty and not modified by Lunar Magic, however if $0EF30C-$0EF30E contains an address to a sprite extra byte table and have $0EF30F holds a value of $42, Lunar magic will enable extra bit customization for placing sprites. HammerBrother
Detail: Data
Originally posted by LM help
Custom Sprite List Sizes
Starting in version 1.80, Lunar Magic allows sprites to have a user-defined size for the number of bytes they take up in the sprite list for the level. These extra bytes can be set when adding a sprite manually.

Typically the sizes would be set by a 3rd party utility. To set them yourself, you must create and store a 0x400 byte table containing the sprite sizes somewhere inside the ROM (first 0x100 bytes are for sprites 00-FF that use an extra bit of 0, next 0x100 are for sprites 00-FF that use an extra bit of 1, etc). Place the SNES address for this table at 0x7750C PC. Then put 0x42 at 0x7750F to enable use of the table by Lunar Magic.

The max size value for a sprite is currently 0xF.

Warning: This will only enable the table for use by Lunar Magic. It's up to you or a 3rd party utility to modify the game code to take the new sizes into account.



0EF30C: TableAddress ;3-byte address
0EF30F: $42

;Here, each byte in the table per sprite number.
;TableAddress+$000 to +0FF: Sprites 00-FF that use an extra bit of 0
;TableAddress+$100 to +1FF: Sprites 00-FF that use an extra bit of 1
;TableAddress+$200 to +2FF: Sprites 00-FF that use an extra bit of 2
;TableAddress+$300 to +3FF: Sprites 00-FF that use an extra bit of 3

;When using PIXI, relative address +$000 to +$1FF are filled with $03.
;+$200 to +$3FF holding X when the extra bit is is 2 or 3.
;The value of X is [X = 3 + ExtraByteAmount]
A more detailed update was submitted and approved.
Pages: « 1 » Link
Forum Index - Valley of Bowser - Moderation Questions - Hijack Map - $0EF0F0 by HammerBrother

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