Actions

SCHG

Sonic 2 SMS/Object Editing

From Sonic Retro

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
Sonic Music Hacking Guide | SonED2 Manual
Game-Specific
Sonic the Hedgehog (16-bit) | Sonic the Hedgehog (8-bit) | Sonic Eraser | Sonic CD (prototype 510) | Sonic CD | Sonic CD (PC) | Sonic CD (2011) | Sonic 2 (Nick Arcade prototype) | Sonic 2 (Simon Wai prototype) | Sonic 2 (16-bit) | Sonic 2 (8-bit) | Sonic 2 & Knuckles | Dr. Robotnik's Mean Bean Machine | Sonic Triple Trouble | Sonic 3 | Sonic & Knuckles | Sonic 3 & Knuckles | Sonic & Knuckles Collection | Sonic Crackers | Sonic 3D: Flickies' Island | Chaotix | Sonic R PC | Sonic Jam 6 | Sonic Advance | Sonic Advance 2 | Sonic Advance 3 | Sonic Battle | 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 | Shadow the Hedgehog | Sonic Riders | Sonic the Hedgehog (2006) | Sonic & Sega All-Stars Racing | Sonic Unleashed (Xbox 360/PS3) | Sonic Generations
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 | Subroutine Equivalency List | 68000 Instruction Set | 68000 ASM-to-Hex Code Reference | VDP Documentation | Official Sega 32X Documentation | Official Mega-CD Documentation | Official Sega Mega Drive Documentation