| |||
Views: 88,485,097 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 04-26-24 04:15 AM |
|
Guest: Register | Login |
0 users currently in ROM Hacking | 1 guest | 2 bots |
Main - ROM Hacking - How to Adjust the Star Man Invincibility Timer | New thread | New reply |
GameGenie81 |
| ||
Koopa Level: 24 Posts: 66/100 EXP: 78094 Next: 31 Since: 08-15-07 From: Milwaukie, OR Last post: 5433 days Last view: 5387 days |
How does one adjust the Star Man invincibility timer in Super Mario Bros. for the NES?
The default byte sets this limit to about 20 seconds, but I want to increase that by at least twice the limit. What byte do I change in the game's ROM to have up to at least 40 seconds of Star Man time? What do I need to refer to in Doppelganger's SMB1 ASM guide to seek this out? Regards, Ben ____________________ We are a nation with no geographic boundaries, bound together through our beliefs. We are like-minded individuals, sharing a common vision, pushing toward a world rid of color lines. |
CKY-9K |
| ||
Pokey Level: 57 Posts: 415/693 EXP: 1430437 Next: 55491 Since: 06-27-07 From: cKy Last post: 210 days Last view: 118 days |
I remember editting the address, but I forgot, sorry.
I'll check into it later. ____________________ |
GameGenie81 |
| ||
Koopa Level: 24 Posts: 68/100 EXP: 78094 Next: 31 Since: 08-15-07 From: Milwaukie, OR Last post: 5433 days Last view: 5387 days |
Posted by CKY-2K Change the address at 0x5827 ($D817 in CPU-speak). The default offset byte is #$23 which would mean about 23 seconds tick away from the main game timer, correct? ____________________ We are a nation with no geographic boundaries, bound together through our beliefs. We are like-minded individuals, sharing a common vision, pushing toward a world rid of color lines. |
frantik |
| ||
Red Koopa Level: 28 Posts: 74/139 EXP: 127402 Next: 3936 Since: 10-09-07 Last post: 4489 days Last view: 4482 days |
Posted by GameGenie81 search "Star" in the disassembly finds: StarInvincibleTimer = $079f now you can set a break point in fceud for when $079f is written to, and then go collect a star and examine the code surrounding the breakpoint for a LDA $xx. Or you can search in the rom for STA $079f (85 9f 07) and you will likely find a LDA $xx value right in front of it, in this case LDA $23 (a9 23) which you already found additionally you can search the disasm for "StarInvincibleTimer" and find: lda #$23 ;otherwise set star mario invincibility sta StarInvincibleTimer ;timer, and load the star mario music |
GameGenie81 |
| ||
Koopa Level: 24 Posts: 69/100 EXP: 78094 Next: 31 Since: 08-15-07 From: Milwaukie, OR Last post: 5433 days Last view: 5387 days |
Posted by frantikPosted by GameGenie81 "85 9f 07" should be corrected to "8d 9f 07". Searched all that and there I was... ____________________ We are a nation with no geographic boundaries, bound together through our beliefs. We are like-minded individuals, sharing a common vision, pushing toward a world rid of color lines. |
frantik |
| ||
Red Koopa Level: 28 Posts: 75/139 EXP: 127402 Next: 3936 Since: 10-09-07 Last post: 4489 days Last view: 4482 days |
oops yeah 85 is zero page sta |
Main - ROM Hacking - How to Adjust the Star Man Invincibility Timer | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 62, rows: 88/88, time: 0.016 seconds. |