This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
return_of_samus:technical_information:screen_transitions [2018/07/21 04:17] – [1x - Select metatile table] liamnajor | return_of_samus:technical_information:screen_transitions [2018/12/27 07:27] – Document opcode 7 quantam | ||
---|---|---|---|
Line 89: | Line 89: | ||
Note: Place the x/y coordinate one screen " | Note: Place the x/y coordinate one screen " | ||
- | ==== 5* - Unknown | + | ==== 5* - Retreat from Last Boss ==== |
- | Sets Samus at a specific | + | This opcode is used only once, when Samus retreats from the last boss fight by falling through the hole in the floor. It performs several tasks: |
+ | - Disable LCD interrupt, ending special last boss hblank handling | ||
+ | - Move Samus to ($78, $D7) | ||
+ | - Set the screen | ||
+ | - Reload | ||
+ | - Flag the screen | ||
==== 6* - Change acid & spike damage ==== | ==== 6* - Change acid & spike damage ==== | ||
Line 106: | Line 111: | ||
For reference, the default starting values are $02 and $08. | For reference, the default starting values are $02 and $08. | ||
- | ==== 7* - Unknown | + | ==== 7* - Exit Room After Last Boss Death ==== |
- | + | ||
- | Redraws the status bar and resets the window position. Perhaps used after exiting the queen fight. TODO: Verify | + | |
+ | This opcode is used only once, when leaving the last boss room after defeating her. It performs the following: | ||
+ | - Disable last boss flag (sets $D08B to 0) | ||
+ | - Resets the window position to (0, $88) (sets $FF4A and $FF4B to $88 and 7, respectively) | ||
+ | - Disables LCD interrupt from last boss fight | ||
+ | - Reloads the status bar into the window | ||
==== 8* - Transition to the Queen Fight ==== | ==== 8* - Transition to the Queen Fight ==== | ||