I need a bit of help with coins

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

koob_koob
Spiny
Spiny
Posts: 27
Joined: Thu Aug 06, 2020 4:28 am

I need a bit of help with coins

Postby koob_koob » Thu Aug 06, 2020 5:10 pm

how do you make the game react depending on how many coins you have? I'm trying to make a level with a star coin that appears when you have at least this many coins.

MrDoubleA
Edward
Edward
Posts: 394
Joined: Mon Aug 20, 2018 7:02 am
Flair: How much munchers?

Re: I need a bit of help with coins

Postby MrDoubleA » Sun Aug 09, 2020 3:54 pm

If it helps, the current coin count can be accessed using the following:

Code: Select all

mem(0x00B2C5A8,FIELD_WORD)

koob_koob
Spiny
Spiny
Posts: 27
Joined: Thu Aug 06, 2020 4:28 am

Re: I need a bit of help with coins

Postby koob_koob » Mon Aug 10, 2020 12:25 pm

thanks

RadMetalMarioSMIX
Buster Beetle
Buster Beetle
Posts: 81
Joined: Sat Mar 14, 2015 6:42 pm
Flair: What kind of grave is this?
Pronouns: he/him

Re: I need a bit of help with coins

Postby RadMetalMarioSMIX » Sat Mar 05, 2022 5:44 pm

MrDoubleA wrote:
Sun Aug 09, 2020 3:54 pm
If it helps, the current coin count can be accessed using the following:

Code: Select all

mem(0x00B2C5A8,FIELD_WORD)
Can this also work for a Total Coin Count? Like in the Wario Land Games?

RadMetalMarioSMIX
Buster Beetle
Buster Beetle
Posts: 81
Joined: Sat Mar 14, 2015 6:42 pm
Flair: What kind of grave is this?
Pronouns: he/him

Re: I need a bit of help with coins

Postby RadMetalMarioSMIX » Sun Jun 01, 2025 11:15 pm

Hey koob_koob have you figured out how to do this? because I actually need this for an episode I'm working on.


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari