ASM: Request, help and general discussion
Re: ASM Help Thread
Just in case, I should probably write a simple levelasm insertion tutorial. Check the first post if you need it.
Re: ASM Help Thread
Haha I love it! I changed the code so it was for level 30 instead of level 7 (because the majority of the level is in level 30). I'm going to tweak the level a bit to make it flow better with the new controls. Thanks a lot!
Re: ASM Help Thread
Ok then for level 30 just make sure you change the first thing to level30: and put it where level30 should be. You don't have to change the labels like BOUNCE007 btw
- raocow
- the death of the incredible huge
- Posts: 4096
- Joined: 15 years ago
- Location: maybe the Wizards are the most complex, and the sales guys are up their daily
- https://raocow.talkhaus.com/
Re: ASM Help Thread
Could someone do me a favour?
Would it be possible to lower where the 'boo cloud' is situated on screen?
Would it be possible to lower where the 'boo cloud' is situated on screen?
the chillaxest of dragons
Re: ASM Help Thread
There is probably a value somewhere which is the base of where the boo cloud is situated yeah. I'm gonna check if there's a boo cloud disassembly anywhere. If not, it could be tough.
- Tails_155
- May be dead.
- Posts: 23
- Joined: 14 years ago
- First name: Kit/Tails
- Pronouns: he/him/his
- Location: The Moon or Something.
Re: ASM Help Thread
Woot. I know 0 ASM, and I need HDMA to make my level's background scroll to the left!
I'm member number 499 (⬤)∀(⬤)
Re: ASM Help Thread
Do you just need it to scroll to the left, or do you need parallax scrolling like the stars in my teleporter in asmt which scroll at different rates? Because just scrolling to the left doesn't require HDMA and is even easier.
- yoshicookiezeus
- Help! pawprint
- Posts: 148
- Joined: 15 years ago
- Pronouns: he/him/his
- Location: Sweden
Re: ASM Help Thread
Unless you want fancy multi-layer scrolling, there's no need to use HDMA for that. In fact, you could just place sprite F4 in your level and do it that way, since according to the wiki we are going to use the hex edit that activates it without having to step on the platform.
NOTANEDIT: a
NOTANEDIT: a
Re: ASM Help Thread
I dunno about that, but I got the boos to dive lower.raocow wrote:Could someone do me a favour?
Would it be possible to lower where the 'boo cloud' is situated on screen?
http://www.youtube.com/watch?v=V2KAEQlNZfA
- raocow
- the death of the incredible huge
- Posts: 4096
- Joined: 15 years ago
- Location: maybe the Wizards are the most complex, and the sales guys are up their daily
- https://raocow.talkhaus.com/
Re: ASM Help Thread
Man, boo clouds are hard enough already to deal with - making them attack so low like that consistantly would probably be overkill.
the chillaxest of dragons
Re: ASM Help Thread
Haha. Well, I'm not sure if I can lower the boo cloud, so I dunno, maybe you would have to physically raise the ground in your level instead of lowering the cloud.
- Personalness
- Posts: 0
- Joined: 14 years ago
- Location: Jersey.
Re: ASM Help Thread
Is there a way to change the speeds of certain sprites on a per-sublevel basis? specifically Rex, Charlies, the flying piranha plants and Banzai Bills.
I have a difficult time conveying what I want to say.
Re: ASM Help Thread
Yeah. Some code that monitors the the sprite speed tables and modifies them should do it, but if the sprites have variable speeds (like boos, start slow, speed up, momentum, etc) it'd be tough to get very exact speeds. Best you could do is double/quadruple or halve their speed.
Re: ASM Help Thread
what on earth is HDMA
Re: ASM Help Thread
HDMA is when the SNES modifies values based on where the electron gun in the TV is currently rendering to, so you can make something happen on the top half of the screen and have it do something else on the bottom half, or anywhere in between. These stars: http://www.youtube.com/watch?v=h2fwvMt6G2g ps dont play stepmania
- Tails_155
- May be dead.
- Posts: 23
- Joined: 14 years ago
- First name: Kit/Tails
- Pronouns: he/him/his
- Location: The Moon or Something.
Re: ASM Help Thread
Electron gun makes everything sound awesome.
Basically what that means is it is pixel specific editing...?
Honestly, that video shows the ideal way my background would work, but that uses Layer2 doesn't it? D:
Basically what that means is it is pixel specific editing...?
Honestly, that video shows the ideal way my background would work, but that uses Layer2 doesn't it? D:
I'm member number 499 (⬤)∀(⬤)
Re: ASM Help Thread
It is pixel specific editing, but you can only edit certain things, like layer position, palette, etc. You can't change mario's powerup based on what part of the screen is drawing or anything. You can only give directions to the SNES hardware itself. Also HDMA is horizontal only, so the change will apply for that entire row of pixels and that's the biggest limit.
Yeah it is layer 2. What did you have in mind?
Yeah it is layer 2. What did you have in mind?
- Tails_155
- May be dead.
- Posts: 23
- Joined: 14 years ago
- First name: Kit/Tails
- Pronouns: he/him/his
- Location: The Moon or Something.
Re: ASM Help Thread
I wanted a normal background that scrolled similar to that. So the stars in the background look like Demo is actually in a Space Station, flying around. Right now I'm just using the background scroll sprite... Layer2 won't let me use the correct color of tiles (it needs to use the cave setting)Kil2 wrote:It is pixel specific editing, but you can only edit certain things, like layer position, palette, etc. You can't change mario's powerup based on what part of the screen is drawing or anything. You can only give directions to the SNES hardware itself. Also HDMA is horizontal only, so the change will apply for that entire row of pixels and that's the biggest limit.
Yeah it is layer 2. What did you have in mind?
I'm member number 499 (⬤)∀(⬤)
Re: ASM Help Thread
The scrolling star code from my level should be drag & droppable into any level with layer 2 stars that doesn't have vertical scrolling. If you know how to patch levelasm you could try copying this to your level number
Code: Select all
;;;;; LEVEL ASM FOR LEVEL B0 THE CEMENT ELEMENTAL PLANE
!FREERAMB0 = $7FA100
REP #$20
LDA #$0F02
STA $4330
LDA #$A100
STA $4332
LDY #$7F
STY $4334
SEP #$20
LDA #$08
TSB $0D9F
LDA $13
STA !FREERAMB0+$1
CLC
ADC #$64
STA !FREERAMB0+$13
LDA $0661
STA !FREERAMB0+$4
LDA $0662
STA !FREERAMB0+$7
LDA $0663
STA !FREERAMB0+$A
LDA $0662
STA !FREERAMB0+$D
LDA $0661
STA !FREERAMB0+$10
LDA $13
LSR
BCS NoINC1B0
INC $0661
NoINC1B0:
LDA $13
LSR
BCS NoINC2B0
LSR
BCS NoINC2B0
INC $0662
NoINC2B0:
LDA $13
LSR
BCS ReturnB0
LSR
BCS ReturnB0
LSR
BCS ReturnB0
INC $0663
ReturnB0:
RTS
- Terry von Feleday
- Posts: 0
- Joined: 14 years ago
Re: ASM Help Thread
Do say, is there a simple way to check if a sprite touches anything, be it player, sprite, floor or wall? I know how to make it check everything seperately but I have this suspicion there's an easier way to do it.
-
- Posts: 0
- Joined: 15 years ago
Re: ASM Help Thread
Can I use LevelASM to do simple ROM edits level wise? I'd like to enable free scrolling by changing $00:F878 to 80. Is that just some simple org db in the LevelASM, or is it impossible?
(I'd like it enable cause of level being easier to do with that enabled)
(I'd like it enable cause of level being easier to do with that enabled)
Re: ASM Help Thread
Could someone make a boo that always will go to you even if you look at it or not.
And I've noticed that normal boos don't dive down long enough to hurt you if you stand still, I want this one to dive down more.
And I've noticed that normal boos don't dive down long enough to hurt you if you stand still, I want this one to dive down more.