Language…
20 users online: Aguiar Salsicha, Green, h.carrell, Hammerer, Heitor Porfirio,  idol, Maw, Metal-Yoshi94, playagmes169, ppp9q,  Saphros,  Sayuri, Silver_Revolver, SMW Magic, Sweetdude, The_Uber_Camper, TheKazooBloccGosh, TheXander, tOaO,  yoshi3706 - Guests: 490 - Bots: 351
Users: 64,795 (2,374 active)
Latest user: mathew

Draw Thing On Status Bar with UberASM

I want to put On/Off thing on status bar through UBERASM magic, For 1 level, that depends on RAM flag. (I don't mean On/Off switch, but $185C).

I want to make it display "On" when flag isn't set, and Off when set.



The only problem is that I have no idea how to work with status bar. Help?


The status bar tilemap is controlled by $0EF9-$0F2F . Here is a diagram, which RAM controlls what.
Just keep in mind that the properties are hardcoded in ROM and isn't (directly) controlled through RAM.

Edit: Man, what's up with the HTML tags? #ab{>_>}
For some reason it doesn't works. Even test code

Code
LDA #$22
STA $0F00
LDA #$0E
STA $0F01
LDA #$1C
STA $0F02


Doesn't works.

It probably should write YES to status bar.

Is this related with properties?


I actually tested it and it should work. However, you want to draw the YES at the same position where the dragon coins are located. These overwrite your YES so you should place it one row lower.
Ok. I forgot about Dragon Coins #ab{>_>} #ab{<_<}. Now it works. Thanks!