Basic Questions and Answers Thread

Discussion in 'Discussion & Q&A' started by Malevolence, Jul 7, 2009.

  1. iojnekns

    iojnekns OBAMA '012!!!!1!!!!!&#33 Member

    Joined:
    Mar 27, 2009
    Messages:
    258
    I agree.


    And that animation in motion is something special!
     
    Last edited by a moderator: Aug 21, 2009
  2. Thorn

    Thorn wroar Member

    Joined:
    Aug 11, 2007
    Messages:
    70
    THIS. Thank you good sir, it works now. The funny thing is that I'd used Find to get to Touch_Enemy, right below Touch_Monitor, in order to make the attack destroy badniks. However, I'd had Find set to scroll through the code backwards for whatever reason, so Touch_Enemy showed up at the top of the screen instead of the bottom. If I'd've been searching forwards, Touch_Enemy would've been at the bottom, and Touch_Monitor would be above it on the screen, so I would've known that such a routine existed. :(
     
    Last edited by a moderator: Aug 21, 2009
  3. Oerg866

    Oerg866 Well-Known Member Member

    Joined:
    Aug 29, 2008
    Messages:
    299
    Location:
    Frankfurt, Germany
    Ooooh. Now I see. Oh well, I fail at understanding problems =P Sorry
     
  4. RistarSonic

    RistarSonic Guest

    quick q, I have the background tiles from neo green hill zone, I want to take the mountains and add it to green hill zone. Its in a bmp image, how would I add the mountains?


    Im not good with background.
     
    Last edited: Aug 22, 2009
  5. beanDude

    beanDude Well-Known Member Member

    Joined:
    Apr 15, 2009
    Messages:
    97
    Location:
    Somewhere in California...
    Oh, hey... I'd rather not start a whole freakin' topic on this...


    ... but is there any easy way to remove the vertical boundary limits in a Zone with said limits (such as the GHZ) ?
     
  6. Destructiox

    Destructiox Newcomer Member

    Joined:
    Jul 9, 2009
    Messages:
    17
    If you're looking to just remove them, go to Resize_GHZ and just replace the whole thing with an 'rts', I did that with Marble Zone 1 resizing and it worked a charm.
     
  7. beanDude

    beanDude Well-Known Member Member

    Joined:
    Apr 15, 2009
    Messages:
    97
    Location:
    Somewhere in California...
    For some strange reason, I'm seeing no results from varied attempts at doing what you said...


    ... There's something I'm missing...
     
  8. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    Then perhaps you need to extend the size of the level. My best guess would be to open up lvl_size.bin find the location of ghz and the act you want,(should be at the begining) and the figure which bytes handle the width of the level, an which handles the hieght of the level and try extending the hieght.
     
  9. Zero

    Zero Active Member Member

    Joined:
    Jan 26, 2009
    Messages:
    37
    I have a problem in Sonic 1:


    I'm trying to replace the art for Eggman in SYZ. But I don't know how to do it. I already changed the mappings just fine, but the art isn't loading.


    When I put the label for the new art in the Pattern load cues.asm, the ship art changes in every level, not just SYZ. and the alt art routine that I made doesn't work either:



    Code:
    toyboxboss2:
    
    		cmpi.b	#4,($FFFFFE11).w&#59; is level syz?
    
    		bne.s   toybox_boss2   &#59; if not, branch
    
    		lea   	(Nem_SYZBoss).l,a1
    
    		jsr	 Loadplc2		  &#59;
    
    
    
    toybox_boss2:
    
    		lea	(Nem_Eggman).l,a1	&#59;
    
    		jsr	Loadplc2
    So, how would I go about doing this?
     
  10. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    Well for one, "$FFFFFE11" is not a zone, its the act. Change it to "$FFFFFE10".
     
  11. Aka Mekon

    Aka Mekon is back Member

    Joined:
    Aug 11, 2007
    Messages:
    41
    Location:
    France
    Change this:



    Code:
    		cmpi.b	#4,($FFFFFE11).w; is level syz?
    ...into this:



    Code:
    		cmpi.b	#$402,($FFFFFE10).w; is level syz?

    This checks the third act of spring yard (because the boss is in the third act)
     
  12. Malevolence

    Malevolence Well-Known Member Member

    Joined:
    Jul 29, 2008
    Messages:
    97

    Lies. Instead you want this:





    Code:
    		cmpi.w	#$402,($FFFFFE10).w; is level syz?
     
  13. Zero

    Zero Active Member Member

    Joined:
    Jan 26, 2009
    Messages:
    37
    Turns out that the art (SYZ Boss) is loading for every boss.....


    Chances are that the plcs aren't right and / or the code is in the wrong spot....


    The code is currently right above:


    Obj75_Main:


    and the plcs look like this:


    Nem_Bomb


    ....


    Nem_SLZSpikes


    ....


    Nem_SYZBoss


    ....


    I wish this wasn't hard.
     
  14. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Not really my problem, but I need to ask: I want to get the W-block to work. It should simply give me 5 rings. Not a big deal. But how can I make the block being removed after touching it, like the 1UP block? This is what I have so far:



    Obj09_ChkW:
    cmpi.b #$26,d0 ; is the item a W-block?


    bne.s Obj09_GOAL ; if not, check for GOAL block


    jsr SS_RemoveCollectedItem ; first try to remove the block


    addq.w #5,($FFFFFE20).w ; add 5 to rings


    ori.b #1,($FFFFFE1D).w ; update the rings counter


    move.b #0,(a1) ; second try to remove the block


    move.w #$B5,d0 ; play ring sound


    jmp (PlaySound_Special).l



    But it doesn't work.


    (Wow, it's been long time since I asked my last question.)
     
  15. Kaori

    Kaori Newcomer Member

    Joined:
    Oct 9, 2009
    Messages:
    1
    I'm not really that smart when it comes to asm. But I have added an extra screen in replacement of the title screen and when you press start it obviously takes you to the first level. Problem is, parts of the level are missing until you exit a special stage.


    It looks like this:


    [​IMG]


    The HUD, lives counter and rings wont show. All the code does is when Start is pressed is jumps to PlayLevel. Help?
     
  16. Super

    Super I actually joined in '05. My postcount is roughly Trialist

    Joined:
    Aug 10, 2007
    Messages:
    15
    Location:
    Michigania
    I've been out of practice for a year and I've sense forgotten... pretty much everything. So quick question: How does one change an object's priority flag so it shows up behind the high plane? Specifically, I want to make the Green Glass Block from Marble Zone in Sonic 1 disappear behind walls and lava.
     
  17. MrSpade

    MrSpade It's meant to be Mr_Spad3 but y'know... Member

    Joined:
    Dec 5, 2009
    Messages:
    172
    Location:
    The UK
    Oh, so many questions.


    Whilst porting the S1 sound driver using the Guide at retro, the modified S1 sound driver seems to be removed from the system, and gives me the 'Nazi Tails' page (404).


    So, does anybody have a copy of the modified sound driver that I could have?
     
  18. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    I had it a while before Shibuona hacked the site. I may or may not have deleted it, allough the clone driver has all the S2 SFX bundled with it--wheras the S1 driver does not (This is hell, you do not want to scour your asm file for SFX replacement). I may have it (S1 Driver) on my flashdrive, though I'm without access to a computer--bear with me.
     
    Last edited by a moderator: Dec 15, 2009
  19. MrSpade

    MrSpade It's meant to be Mr_Spad3 but y'know... Member

    Joined:
    Dec 5, 2009
    Messages:
    172
    Location:
    The UK
    No rush, I don't need it right at this moment.


    Thanks for the help though.
     
  20. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    Unfortunately I must have deleted it, I can't find it anywhere. Oh well, at least I tried.