Skip to content

Commit 4c6df55

Browse files
authored
Merge pull request #2891 from 2dos/who-you-gonna-call-guardbusters-i-aint-afraid-of-no-guard
Whoops i forgot to update the drop table
2 parents 92db687 + 3d91aee commit 4c6df55

File tree

5 files changed

+702
-694
lines changed

5 files changed

+702
-694
lines changed

base-hack/Build/item_dictionaries.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ def __init__(
263263
EnemyDropDef(0xB6, 0x2F, Song.MelonSliceDrop, 1), # Klobber
264264
EnemyDropDef(0xAF, 0x2F, Song.MelonSliceDrop, 1), # Kaboom
265265
EnemyDropDef(0x103, 0x79, Song.Silence, 1), # Guard
266+
EnemyDropDef(CustomActors.GuardDisableA, 0x79, Song.Silence, 1), # Guard
267+
EnemyDropDef(CustomActors.GuardDisableZ, 0x79, Song.Silence, 1), # Guard
268+
EnemyDropDef(CustomActors.GuardTag, 0x79, Song.Silence, 1), # Guard
269+
EnemyDropDef(CustomActors.GuardGetOut, 0x79, Song.Silence, 1), # Guard
266270
EnemyDropDef(276, 0x34, Song.Silence, 2), # Spiderling
267271
EnemyDropDef(273, 0x34, Song.Silence, 1), # Fireball with Glasses
268272
EnemyDropDef(230, 0x2F, Song.MelonSliceDrop, 1), # Ruler

base-hack/include/item_data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ typedef enum new_custom_actors {
6060
/* 0x187 */ NEWACTOR_GUARDTAG = 0x187,
6161
/* ----- */ NEWACTOR_TERMINATOR,
6262
} new_custom_actors;
63-
#define DROP_COUNT 36
63+
#define DROP_COUNT 40
6464
extern GBDictItem new_flag_mapping[122];
6565
#define FILE_INFO_SIZE 0x8e4
6666
#define GB_DICTIONARY_COUNT 122

base-hack/src/lib_items.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ drop_item drops[] = {
217217
{.source_object=182, .dropped_object=47, .drop_music=47, .drop_count=1},
218218
{.source_object=175, .dropped_object=47, .drop_music=47, .drop_count=1},
219219
{.source_object=259, .dropped_object=121, .drop_music=0, .drop_count=1},
220+
{.source_object=388, .dropped_object=121, .drop_music=0, .drop_count=1},
221+
{.source_object=389, .dropped_object=121, .drop_music=0, .drop_count=1},
222+
{.source_object=391, .dropped_object=121, .drop_music=0, .drop_count=1},
223+
{.source_object=390, .dropped_object=121, .drop_music=0, .drop_count=1},
220224
{.source_object=276, .dropped_object=52, .drop_music=0, .drop_count=2},
221225
{.source_object=273, .dropped_object=52, .drop_music=0, .drop_count=1},
222226
{.source_object=230, .dropped_object=47, .drop_music=47, .drop_count=1},

static/patches/shrink-dk64.bps

68 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)