From dae16acd6f4e2e2c177e3776be6ed549af070c4f Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Tue, 26 Dec 2017 21:55:57 -0500 Subject: =?UTF-8?q?event/=20=E2=86=92=20events/,=20and=20move=20some=20app?= =?UTF-8?q?ropriate=20engine/=20files=20there?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- event/std_collision.asm | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 event/std_collision.asm (limited to 'event/std_collision.asm') diff --git a/event/std_collision.asm b/event/std_collision.asm deleted file mode 100644 index 79dbc71f1..000000000 --- a/event/std_collision.asm +++ /dev/null @@ -1,29 +0,0 @@ -CheckFacingTileForStdScript:: ; 1365b -; Checks to see if the tile you're facing has a std script associated with it. If so, executes the script and returns carry. - ld a, c - ld de, 3 - ld hl, TileCollisionStdScripts - call IsInArray - jr nc, .notintable - - ld a, jumpstd_command - ld [wJumpStdScriptBuffer], a - inc hl - ld a, [hli] - ld [wJumpStdScriptBuffer + 1], a - ld a, [hli] - ld [wJumpStdScriptBuffer + 2], a - ld a, BANK(Script_JumpStdFromRAM) - ld hl, Script_JumpStdFromRAM - call CallScript - scf - ret - -.notintable - xor a - ret - -INCLUDE "data/collision_stdscripts.asm" - -Script_JumpStdFromRAM: ; 0x1369a - jump wJumpStdScriptBuffer -- cgit v1.2.3