Website
Home
Database
News
Submissions queue
Community
Forum
Clubs
Discord
Members
Tools
ROM Patcher
ROM Hasher
Pages
Support us
Learn Romhacking
About
Contact Us
Help & Legal Pages
Guest
Login
Forum
Entries
News
Settings
Community
Help Wanted & Support
[Technical] Trying to enable Dev Mode in Rugrats: Adventures in Gameland
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Bavi_H" data-source="post: 4985" data-attributes="member: 607"><p>[code]$B2C3:</p><p> INC Difficultychange</p><p> LDA Difficultychange</p><p> CMP #$03</p><p> BNE $B2D2</p><p> LDA #$00</p><p> STA Difficultychange</p><p>$B2D2:</p><p> [...][/code]</p><p></p><p>If you hover over the instruction opcodes (INC, LDA, CMP, etc.), a pop-up tool tip will tell you want they mean. Can you figure out what is this code doing? </p><p></p><p>[ISPOILER]This code is doing the following:</p><p>1. Increment the difficutly value.</p><p>2. Now if the difficulty value is not 3, skip over the next part.</p><p>3. (So, this part only happens if the difficutly value is now [plain]3:)[/plain] Set the difficulty value to 0.[/ISPOILER]</p><p></p><p>If you want the difficulty value to go through the values 0, 1, 2, and 3, is there something in this code you can change?</p><p></p><p>[ISPOILER]You can change <code class="bbCodeInline">CMP #$03</code> to <code class="bbCodeInline">CMP #$04</code>[/ISPOILER]</p><p></p><p>What happens if you press the left button instead of the right button?</p><p></p><p>How can you find code related to updating the text on the screen? Hint: Set a breakpoint [ispoiler]to catch when the difficulty value is read.[/ispoiler]</p><p></p><p></p><p></p><p></p><p>We might need to review the rules of each site. The Rugrats game and the NES version that comes with it are a relatively recent release and the various sites (including this one?) might not want a patch for it in their collections (?). If it's allowed, I would probably prefer to submit it myself so I can edit the description and it would show up associated with my profile and so on. Which sites did you have in mind?</p></blockquote><p></p>
[QUOTE="Bavi_H, post: 4985, member: 607"] [code]$B2C3: INC Difficultychange LDA Difficultychange CMP #$03 BNE $B2D2 LDA #$00 STA Difficultychange $B2D2: [...][/code] If you hover over the instruction opcodes (INC, LDA, CMP, etc.), a pop-up tool tip will tell you want they mean. Can you figure out what is this code doing? [ISPOILER]This code is doing the following: 1. Increment the difficutly value. 2. Now if the difficulty value is not 3, skip over the next part. 3. (So, this part only happens if the difficutly value is now [plain]3:)[/plain] Set the difficulty value to 0.[/ISPOILER] If you want the difficulty value to go through the values 0, 1, 2, and 3, is there something in this code you can change? [ISPOILER]You can change [icode]CMP #$03[/icode] to [icode]CMP #$04[/icode][/ISPOILER] What happens if you press the left button instead of the right button? How can you find code related to updating the text on the screen? Hint: Set a breakpoint [ispoiler]to catch when the difficulty value is read.[/ispoiler] We might need to review the rules of each site. The Rugrats game and the NES version that comes with it are a relatively recent release and the various sites (including this one?) might not want a patch for it in their collections (?). If it's allowed, I would probably prefer to submit it myself so I can edit the description and it would show up associated with my profile and so on. Which sites did you have in mind? [/QUOTE]
Insert quotes…
Verification
Post reply
Community
Help Wanted & Support
[Technical] Trying to enable Dev Mode in Rugrats: Adventures in Gameland
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Back
Top