User Tools

Site Tools


return_of_samus:technical_information:screen_transitions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
return_of_samus:technical_information:screen_transitions [2018/12/27 07:17] – Document opcode 5 quantamreturn_of_samus:technical_information:screen_transitions [2018/12/27 08:25] – Add more info about opcode 8 quantam
Line 111: 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 ====
  
 Handles a lot of special stuff regarding the queen fight, but not everything. Handles a lot of special stuff regarding the queen fight, but not everything.
  
 +Form: 8a bbbb cccc dddd eeee
 +a: Bank for current room ($F)
 +b: Scroll Y position ($F48)
 +c: Scroll X position ($EAE)
 +d: Samus Y position ($F02)
 +e: Samus X position ($EDE)
 ==== 9* - Conditional Operator ==== ==== 9* - Conditional Operator ====
  
return_of_samus/technical_information/screen_transitions.txt · Last modified: 2023/07/02 17:36 by rt-55j