Sonic 1, weird thing with explosion sound effect

Discussion in 'Discussion and Q&A Archive' started by Psycho RFG, Aug 5, 2013.

Thread Status:
Not open for further replies.
  1. Psycho RFG

    Psycho RFG Well-Known Member Member

    Joined:
    Feb 22, 2011
    Messages:
    234
    Here is the main code of the explosion of a destroyed monitor:



    Obj24_Main: ; XREF: Obj24_Index

    addq.b #2,$24(a0)

    move.l #Map_obj24,4(a0)

    move.w #$41C,2(a0)

    move.b #4,1(a0)

    move.b #1,$18(a0)

    move.b #0,$20(a0)

    move.b #$C,$19(a0)

    move.b #9,$1E(a0)

    move.b #0,$1A(a0)

    move.w #$A5,d0

    jsr (PlaySound_Special).l ; play explosion sound



    Take special attention at the end, to this:



    move.w #$A5,d0

    jsr (PlaySound_Special).l ; play explosion sound



    Why the hell is that $A5 here? That's not the explosion sound :/
     
    Last edited by a moderator: Aug 5, 2013
  2. Psycho RFG

    Psycho RFG Well-Known Member Member

    Joined:
    Feb 22, 2011
    Messages:
    234
    It's a bad named object in the old disassemblies. This object is named "Object 24 - buzz bomber missile vanishing (unused?)" in the newer disassemblies. lool

    Case closed!
     
Thread Status:
Not open for further replies.