Language…
15 users online: balloon_smw, Connnnair, DasFueller, EpicGamer1354,  KungFuFurby, menali, NewPointless, ocked, Reese, signature_steve, Sluwu, Solivan1889, SpaceGlam, The_Uber_Camper,  TheJavabrew - Guests: 105 - Bots: 155
Users: 67,353 (2,058 active)
Latest user: Jwinder

P-meter UBERASM issue.

https://www.smwcentral.net/?p=section&a=details&id=14928


I have been trying to get this to work and when it tells me this specific line:
;Stick this in, library and use the command "JSL pmeter_SMB3PMeter" for:

I don't know where to use this command or how to, I attempted to add the p-meter.asm in gamemode and library, normally, but that only resulted in the sound being played and the P-bar not showing up.

So does anyone know how to fix this issue? #smrpg{:O}
To reach the question, you must address the answer.
You need to add the file itself to uberasmtool's library folder. If you want it in all levels, create 2 files in the gamemode folder called for example pmeter_init.asm and pmeter.asm. In pmeter_init, paste this code:
Code
init:
JSL pmeter_SMB3PMeter
RTL

and in pmeter.asm:
Code
init:
JSL pmeter_SMB3PMeter
RTL
main:
JSL pmeter_SMB3PMeter
RTL

Then in the uberasmtool list file, add these lines under gamemode:
Code
gamemode:
13 pmeter_init.asm
14 pmeter_main.asm



If you only want it in specific levels, create a file called pmeter.asm in uberasmtool's level folder. In there, paste:
Code
init:
JSL pmeter_SMB3PMeter
RTL

main:
JSL pmeter_SMB3PMeter
RTL

Then in the list file, under level, for every level you want it in, add:
Code
<level number> pmeter.asm


I hope you know how to fix their graphics.
Originally posted by randomdude999


Thanks! I know how to fix the graphics.

EDIT: Nevermind, the graphics won't appear. Guess I'll just have to use a patch.
To reach the question, you must address the answer.
Originally posted by randomdude999

I hope you know how to fix their graphics.




I figured out Uberasm insertion but not how to get the graphics to work. Any help would be appreciated.