Moved doorrando code. Fixed a multiclient issue with pot switches.
This commit is contained in:
10
doorrando/dr_lobby.asm
Normal file
10
doorrando/dr_lobby.asm
Normal file
@@ -0,0 +1,10 @@
|
||||
CheckDarkWorldSpawn:
|
||||
STA $A0 : STA $048E ; what we wrote over
|
||||
LDA.l DRFlags : AND #$0200 : BEQ + ; skip if the flag isn't set
|
||||
LDA.l MoonPearlEquipment : AND #$00FF : BNE + ; moon pearl?
|
||||
LDA.l LinksHouseDarkWorld : CMP $A0 : BEQ ++
|
||||
LDA.l SanctuaryDarkWorld : CMP $A0 : BEQ ++
|
||||
LDA.l OldManDarkWorld : CMP $A0 : BNE +
|
||||
++ SEP #$30 : LDA #$17 : STA $5D
|
||||
INC $02E0 : LDA.b #$40 : STA CurrentWorld : REP #$30
|
||||
+ RTL
|
||||
Reference in New Issue
Block a user