From 41ba91e884f65b48d976be7424ede36cf58892b0 Mon Sep 17 00:00:00 2001 From: Kevin Cathcart Date: Sat, 22 Sep 2018 23:01:54 -0400 Subject: [PATCH] [Inverted] Show portal on DW map --- sandbox.asm | 3 ++- tables.asm | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sandbox.asm b/sandbox.asm index 6c02e12..07cadf7 100644 --- a/sandbox.asm +++ b/sandbox.asm @@ -178,12 +178,13 @@ org $0280A6 : db $D0 ; Spawn logic org $1FED31 : db $0E ; pre-open open TR bomb door org $1FED41 : db $0E ; pre-open open TR bomb door +org $0ABFBB : db $90 ; Show portal on dark world map + ; Write to StartingAreaOverworldDoor table to indicate the overworld door being used for ; the single entrance spawn point org $308247 ; PC 0x180247 db $00, $5A, $00, $00, $00, $00, $00 - org $1AF696 : db #$F0 ;Bat X position (sprite_retreat_bat.asm:130) org $1AF6B2 : db #$33 ;Bat Delay (sprite_retreat_bat.asm:136) diff --git a/tables.asm b/tables.asm index f22cbd3..79d412c 100644 --- a/tables.asm +++ b/tables.asm @@ -1284,6 +1284,9 @@ db $04 ;db #$F0 ; #$D0 - Light Only (Default), #$F0 - Dark Only ;org $06DB78 ; PC 0x35B78 (Bank06.asm:2186) ($24) ;db #$8B ; #$24 - Light Style, #$8B - Dark Style +;;Portal indicator in dark world map +;org $0ABFBB ; Bank0a.asm:1005 (LDA $008A : CMP.b #$40 : BCS BRANCH_BETA) +;db $90 ;$90 (BCC) - Show in Dark World, $B0 (BCS) normal ;;-------------------------------------------------------------------------------- ;;Vortexes ;org $05AF79 ; PC 0x2AF79 (sprite_warp_vortex.asm:18) (BNE)