Language…
13 users online:  AmperSam, CroNo, DanMario24YT, EvilAdmiralKivi, fsvgm777, Guido_Keller, Isikoro, JezJitzu, Sweetdude, timothy726, tOaO, Tomi P, Zavok - Guests: 264 - Bots: 326
Users: 64,795 (2,377 active)
Latest user: mathew

how to make the rotating-gray-platform-pendulum longer?(still need help!)

Link Thread Closed
I what to make the beads or balls longer from rotating-gray-platform-pendulum from the pendulum pack and I've asked this before but now I
it bothering me because it's too short and it's hard for the player to
to jump from it without hitting the block.

Assuming that the sprite is based on the disassembly, you'll find these two lines at the very start of the init routine:

Code
	LDA #$30	;\ set platform radius
	STA $187B,x	;/

Change the 30 to whatever value you want to use for the radius.
My YouTube channel
Get the official ASMT resource pack here!

well now it's lower like I what but now it's going too fast,there's balls missing and when it's right and it get's to the far point to the right apart of the platform disrepair and not because of too many sprites





edit
to note I got it set to 70
Well, you can halve the speed by changing this part:

Code
	LDA !RAM_ExtraBits,x	;\ use extra bits to determine direction of rotation
	LDY #$02		; | (original uses sprite x position)
	AND #$04		; |
	BNE CODE_02D63B		; |
	LDY #$FE		; |

into this:

Code
	LDA !RAM_ExtraBits,x	;\ use extra bits to determine direction of rotation
	LDY #$01		; | (original uses sprite x position)
	AND #$04		; |
	BNE CODE_02D63B		; |
	LDY #$FF		; |

but I can't seem to figure out what exactly controls where the chain tiles are placed. It seems to be handled the CODE_02D870 routine, but I'm having trouble making sense of all the bitwise rotations.

(also it seems like I completely messed up with interpreting the division in that routine when I originally commented the code :V)

EDIT: If you're just doubling the radius, I think I might have a solution: try adding an ASL on line 425, between the ROL and the PLP.
like this?
Code
loaded?

			ASL $0E				;\ what
			ROL				; |
			ASL $0E				; |
			ROL				; |
			ASL $0E				; |
			ROL				; |
			ASL $0E				; |
			ROL				;/
			ASL
			PLP				; retrieve processor flags
			BPL Return02D8A0		;\ if original value was negative,
			EOR #$FF			; | invert result
			INC A				;/
Return02D8A0:		RTS				; return
Yes, just like that.
My YouTube channel
Get the official ASMT resource pack here!

well now it's doing this and it's still doing both remaining problems I mention before and I notices it swings a little slower

bump because I still need help!
bump because I still need help!
I understand you still need help but please wait patiently.
Some people dont have all day.
Insert text here
look your new here so you don't know how it works here and like I said before your new so don't have the right to lecture me so piss off
That's nothing to get all worked up for.
Also you could be a little bit more friendly to the people who just want to help you.
Anime statistic on MyAnimeList:
400 animes completed ✓
6000 episodes completed ✓
100 Days completed ✓
... what even am I doing with my life?
Nuking this one because it's going exactly nowhere except into a bunch of impoliteness I'd rather not see around here.
<blm> zsnes users are the flatearthers of emulation
Link Thread Closed