Boss in act 2

Discussion in 'Discussion and Q&A Archive' started by Hanoch, Sep 29, 2008.

Thread Status:
Not open for further replies.
  1. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    I am trying to load the ghz boss in act 2 instead of act 3 (i am deleting act 3's) so i went to resize ghz3boss and i deleted it and then i put it


    in a new routine i call Resize_ghz2boss. It looks like that:



    Code:
    Resize_GHZ2Boss:
    
    				cmpi.w	#$1F00,($FFFFF700).w&#59; new x position
    
    		bcc.s	loc_6EB0
    
    		subq.b	#2,($FFFFF742).w
    
    
    
    loc_6EB0:
    
    		cmpi.w	#$37D,($FFFFF704).w&#59; new y position
    
    		bcs.s	locret_6E3A
    
    		bsr.w	SingleObjLoad
    
    		bne.s	loc_6ED0
    
    		move.b	#$3D,0(a1)&#59; load GHZ boss	object
    
    		move.w	#$2A60,8(a1)
    
    		move.w	#$280,$C(a1)
    
    
    
    loc_6ED0:
    
    		move.w	#$8C,d0
    
    		bsr.w	PlaySound&#59; play boss music
    
    		move.b	#1,($FFFFF7AA).w&#59; lock	screen
    
    		addq.b	#2,($FFFFF742).w
    
    		moveq	#$11,d0
    
    		bra.w	LoadPLC	&#59; load boss patterns

    but the boss doesn't load.
     
    Last edited by a moderator: Sep 29, 2008
  2. shobiz

    shobiz Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    198
    Location:
    Karachi, Pakistan
    Well, you have to call your new routine from somewhere for it to work. Where are you calling it from right now?
     
  3. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    I am calling it from Resize_GHZx and i have to more problems. i edited sbz's background and then i built sbz was fine so i killed myself 3 times to hear the game over music from s3 that i ported and i heard SEGA sound and i didn't even fix the sound after i ported the spindash! and i went to soned to edit sbz and the layout looked messed up! i didn't touch the layout! and i found out it was saved to the ROM. oh and to delete acts do i need to delete everything that is related to it?
     
  4. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    Have you looked at the boss object (Obj3D I think), it might have X & Y positions there that you have to edit.
     
  5. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    No it doesn't have anything related.
     
Thread Status:
Not open for further replies.