Skip to content

Commit

Permalink
Update PokemonMansion1F.asm
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortyne authored Nov 19, 2023
1 parent dc705d2 commit 9ab48c5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions scripts/PokemonMansion1F.asm
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,31 @@ Mansion1Subscript1:
res 5, [hl]
ret z
CheckEvent EVENT_MANSION_SWITCH_ON
jr nz, .asm_442ec
jr nz, .switchTurnedOn
lb bc, 6, 12
call Mansion1Script_4430b
call Mansion1LoadEmptyFloorTileBlock
lb bc, 3, 8
call Mansion1Script_44304
call Mansion1LoadHorizontalGateBlock
lb bc, 8, 10
call Mansion1Script_44304
call Mansion1LoadHorizontalGateBlock
lb bc, 13, 13
jp Mansion1Script_44304
.asm_442ec
jp Mansion1LoadHorizontalGateBlock
.switchTurnedOn
lb bc, 6, 12
call Mansion1Script_44304
call Mansion1LoadHorizontalGateBlock
lb bc, 3, 8
call Mansion1Script_4430b
call Mansion1LoadEmptyFloorTileBlock
lb bc, 8, 10
call Mansion1Script_4430b
call Mansion1LoadEmptyFloorTileBlock
lb bc, 13, 13
jp Mansion1Script_4430b
jp Mansion1LoadEmptyFloorTileBlock

Mansion1Script_44304:
Mansion1LoadHorizontalGateBlock:
ld a, $2d
ld [wNewTileBlockID], a
jr Mansion1ReplaceBlock

Mansion1Script_4430b:
Mansion1LoadEmptyFloorTileBlock:
ld a, $e
ld [wNewTileBlockID], a
Mansion1ReplaceBlock:
Expand Down

0 comments on commit 9ab48c5

Please sign in to comment.