Language…
19 users online: Alex No,  AmperSam,  Anorakun, Big Brawler, DanMario24YT, GiraffeKiller, Green, Green Jerry, h.carrell, Hammerer, JikissGamer, LadiesMan217, MaffYuu, Mecke1990, Metal-Yoshi94, Ray Hamilton,  StayAtHomeStegosaurus, Tulip Time Scholarship Games, Zatara - Guests: 298 - Bots: 441
Users: 64,795 (2,369 active)
Latest user: mathew

48x16 blocks missing defines

I wanted to insert Eternety Larvae's 48x16 Question Blocks, but when I tried to insert the blocks, I got an error telling me that the !star_item define was missing. How do I get this define? https://www.smwcentral.net/?p=section&a=details&id=20873
"What's 9 + 10?"
-Jah
!star_item had a number in the star blocks .asm file. That number represented the number used to spawn the star powerup from SMW. Did you remove that by chance?
Originally posted by Rykon-V73
!star_item had a number in the star blocks .asm file. That number represented the number used to spawn the star powerup from SMW. Did you remove that by chance?

If I did, how could I get it back?
"What's 9 + 10?"
-Jah
If you did, then open StarLeft, StarMiddle and StarRight.asm and add:
Code
!star_item = $76
!star_custom = !false

This should make the block work.
Originally posted by Rykon-V73
If you did, then open StarLeft, StarMiddle and StarRight.asm and add:
Code
!star_item = $76
!star_custom = !false

This should make the block work.

That code is already in the star related blocks

this is the error that I'm getting.

An error has been detected:
blocks/48x16QuestionMarkBlockMain.asm:27: error: Define !star_item not found

and the code on line 27 onwards reads out as follows

Code
if !star_item == $0
		JSR gen_coin
	elseif !star_item != $1
		LDA #!star_item
		if !star_custom == !false
			CLC
		else
			SEC
		endif
		JSR gen_item
	endif

"What's 9 + 10?"
-Jah
From what I've seen, !star_item from elseif !star_item != $1 should be:
Code
elseif !star_item != $0

Try changing it like above.
Originally posted by Rykon-V73
From what I've seen, !star_item from elseif !star_item != $1 should be:
Code
elseif !star_item != $0

Try changing it like above.

Could you please clarify what you mean by this?
"What's 9 + 10?"
-Jah
Have you tried just you know redownloading the block and either just using the ones you redownloaded or comparing the code to see what you might of done?
Originally posted by Ninja Boy
Have you tried just you know redownloading the block and either just using the ones you redownloaded or comparing the code to see what you might of done?

I redownloaded the blocks, and encountered the same issue
"What's 9 + 10?"
-Jah
The documentation of the blocks is a bit lacking, but I think you are meant to use the list.txt provided; while its code is used in the other .asm files, you are not meant to insert directly 48x16QuestionMarkBlockMain.asm.