Actions

SCHG

Sonic the Hedgehog 2 (Master System)/Object Editing

From Sonic Retro

Revision as of 13:04, 11 October 2009 by Glitch (talk | contribs) (Created page with '{{SCHG S2SMS}} __NOTOC__ ==Object Layout== The properties of each object is determined by 9 bytes, which follow this format: '''TT XXXX YYYY ZZ SS VVWW''' (FF) *'''TT''' = ob…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SCHG: Sonic 2 (Master System)
Main Article
Art Editing
Editing Art
Palettes
Uncompressed Art
Compressed
Level Editing
Editing Levels
Level Headers
32x32 MetaTiles
Level Layout
Object Editing
Editing Objects
Object Layout
Object Types
Music Editing
Editing Music
Driver Technical Info
Module Format


Object Layout

The properties of each object is determined by 9 bytes, which follow this format:

TT XXXX YYYY ZZ SS VVWW (FF)

  • TT = object type
  • XXXX = horizontal position
  • YYYY = vertical position
  • ZZ = per-object flags
  • SS = object parameters
  • VV = tiles to read from the VRAM
  • WW = tiles to read from the VRAM when the object is reversed
  • FF = end of sprite list (only appears once)


Object Types

TT SS Description
00 Nothing
01 Sonic
02 Collected ring sparkle
03 Power Sneakers stars
04 Fragment of a smashed block
05 Invincibility stars
06 Special object to hide ring counter & timer
07 Fragment of smashed block (different logic to 04)
08 Dropped ring
09 Air timer countdown
0A Bubbles (ALZ)
0B Splash of water (ALZ)
0D-0E Fireball (UGZ)
0F Explosion
10 Monitors:
  • 00 - Blank
  • 01 - Blank
  • 02 - Rings
  • 03 - Extra life
  • 04 - Speed shoes
  • 05 - Invincibility
  • 06 - Running Sonic (extra continue)
  • 07 - Question mark (does nothing)
  • 08 - Lead shoes (does nothing)
  • 09 - Arrow (does nothing)
11-14 Chaos emerald
15-18 End level signpost
19 Falling spike with wrong mappings
1A Unknown
1B Falling spike (UGZ)
1C Clouds (intro sequence)
1D Clouds & cycling palette (intro sequence)
1E Tree (intro sequence)
1F Invalid object
20 Platforms:
  • 00 - Moves side-to-side
  • 01 - Falls when you stand on it
  • 02 - Swinging
21 Platforms:
  • 00 - Rises when you stand on it
  • 01 - Rises when you stand on it, then reappears in its original position
  • 02 - Moves side-to-side
  • 03 - Moves right when you stand on it
  • 04 - Doesn't move
22 XX Platform: moves side-to-side, XX = distance moved
23 Crab enemy
24 Fireballs that the crab enemy spits out
25 Yellow bird (SHZ)
26 Spears (ALZ):
  • 00 - Moves upwards
  • 01 - Moves upwards
  • 02 - Moves downwards
  • 03 - Moves left
  • 04 - Moves right
27 Glider (SHZ)
28 Flywheel (GMZ)
29 Minecart:
  • 00 - Doesn't move
  • 01 - Doesn't move
  • 02 - Moves right
  • 03 - Moves left
  • 04 - Explodes when you touch it
2A XX Flywheel: moves side-to-side, XX = distance moved (CEZ)
2B Spiked crystal (CEZ)
2C Falling block (CEZ)
2D Falling log (SHZ)
2E Unknown
2F Unknown
30 Makes Sonic flash
31 Makes Sonic flash
32 Spinning turtle enemy (SHZ)
33 Lobster enemy (ALZ)
34 Moto bug enemy
35 Newtron enemy
36 SHZ boss - mini robot birds
37 Fish enemy (CEZ)
38 Burrobot enemy (GMZ)
39 Bomb enemy
3A Pig enemy (GMZ)
3B-3F Unknown
40 Prison capsule
41 Animals
42 GHZ boss - sumo robot
43 Unknown
44 GMZ boss - pig robot
45 GMZ boss - falling rocks
46 SHZ boss - mini robot birds
47 SHZ boss - eggs
48 SHZ boss - big bird robot
49 SHZ boss - fireball
4A ALZ boss - seal robot
4B UGZ boss - Eggman
4C UGZ boss - cannonball
4D UGZ boss - pincers thing
4E SEZ boss - Silver Sonic
4F ALZ boss - orange bouncing ball
50 Sonic's hand (title screen)
51 Tails' face (title screen)
52 Unknown
53 CEZ boss - floating cluster of yellow balls
54 CEZ boss - zigzag thing that crawls across the floor
55 CEZ boss - Eggman
56-5C Unknown
5D Tails (CEZ)
5E Unknown
5F Tails & Eggman (intro sequence)
Sonic Community Hacking Guide
General
SonED2 Manual | Subroutine Equivalency List
Game-Specific
Sonic the Hedgehog (16-bit) | Sonic the Hedgehog (8-bit) | Sonic CD (prototype 510) | Sonic CD | Sonic CD (PC) | Sonic CD (2011) | Sonic 2 (Simon Wai prototype) | Sonic 2 (16-bit) | Sonic 2 (Master System) | Sonic 3 | Sonic 3 & Knuckles | Chaotix | Sonic Jam | Sonic Jam 6 | Sonic Adventure | Sonic Adventure DX: Director's Cut | Sonic Adventure DX: PC | Sonic Adventure (2010) | Sonic Adventure 2 | Sonic Adventure 2: Battle | Sonic Adventure 2 (PC) | Sonic Heroes | Sonic Riders | Sonic the Hedgehog (2006) | Sonic & Sega All-Stars Racing | Sonic Unleashed (Xbox 360/PS3) | Sonic Colours | Sonic Generations | Sonic Forces
Technical information
Sonic Eraser | Sonic 2 (Nick Arcade prototype) | Sonic CD (prototype; 1992-12-04) | Dr. Robotnik's Mean Bean Machine | Sonic Triple Trouble | Tails Adventures | Sonic Crackers | Sonic 3D: Flickies' Island | Sonic & Knuckles Collection | Sonic R | Sonic Shuffle | Sonic Advance | Sonic Advance 3 | Sonic Battle | Shadow the Hedgehog | Sonic Rush | Sonic Classic Collection | Sonic Free Riders | Sonic Lost World
Legacy Guides
The Nemesis Hacking Guides The Esrael Hacking Guides
ROM: Sonic 1 | Sonic 2 | Sonic 2 Beta | Sonic 3

Savestate: Sonic 1 | Sonic 2 Beta/Final | Sonic 3

Sonic 1 (English / Portuguese) | Sonic 2 Beta (English / Portuguese) | Sonic 2 and Knuckles (English / Portuguese)
Move to Sega Retro
Number Systems (or scrap) | Assembly Hacking Guide | 68000 Instruction Set | 68000 ASM-to-Hex Code Reference | SMPS Music Hacking Guide | Mega Drive technical information