mirror of https://github.com/pret/pokecrystal.git
use db instead of item_frag on ItemFragment remote chunks
This commit is contained in:
parent
611016ae40
commit
a049ef74f8
|
@ -3267,7 +3267,7 @@ class ItemFragment(Command):
|
||||||
"""used by ItemFragmentParam and PeopleEvent
|
"""used by ItemFragmentParam and PeopleEvent
|
||||||
(for items placed on a map)"""
|
(for items placed on a map)"""
|
||||||
size = 2
|
size = 2
|
||||||
macro_name = "item_frag"
|
macro_name = "db"
|
||||||
base_label = "ItemFragment_"
|
base_label = "ItemFragment_"
|
||||||
override_byte_check = True
|
override_byte_check = True
|
||||||
param_types = {
|
param_types = {
|
||||||
|
|
|
@ -443,7 +443,7 @@ def macro_translator(macro, token, line):
|
||||||
# "db" is a macro because of TextEndingCommand
|
# "db" is a macro because of TextEndingCommand
|
||||||
# rgbasm can handle "db" so no preprocessing is required
|
# rgbasm can handle "db" so no preprocessing is required
|
||||||
# (don't check its param count)
|
# (don't check its param count)
|
||||||
if macro.macro_name == "db" and macro == TextEndingCommand:
|
if macro.macro_name == "db" and macro in [TextEndingCommand, ItemFragment]:
|
||||||
sys.stdout.write(original_line)
|
sys.stdout.write(original_line)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue