summaryrefslogtreecommitdiff
path: root/maps/BillsBrothersHouse.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-24 09:49:26 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-24 09:57:16 -0400
commitdcb24bc72428a60e37c1dfa7a93dc46bff7bd5ed (patch)
tree4788cafe99972e5b4f6528affb925c9d7eb24134 /maps/BillsBrothersHouse.asm
parent89c47f21701caf32641573264d83ca16eb0aed91 (diff)
Use def_* macros for automatic map event counts
Resolves #742
Diffstat (limited to 'maps/BillsBrothersHouse.asm')
-rw-r--r--maps/BillsBrothersHouse.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/maps/BillsBrothersHouse.asm b/maps/BillsBrothersHouse.asm
index b9c6d469f..14cf8a3bb 100644
--- a/maps/BillsBrothersHouse.asm
+++ b/maps/BillsBrothersHouse.asm
@@ -1,11 +1,11 @@
- object_const_def ; object_event constants
+ object_const_def
const BILLSBROTHERSHOUSE_POKEFAN_F
const BILLSBROTHERSHOUSE_YOUNGSTER
BillsBrothersHouse_MapScripts:
- db 0 ; scene scripts
+ def_scene_scripts
- db 0 ; callbacks
+ def_callbacks
BillsBrotherScript:
jumptextfaceplayer BillsBrotherText
@@ -28,14 +28,14 @@ BillsBrothersHouseYoungsterText:
BillsBrothersHouse_MapEvents:
db 0, 0 ; filler
- db 2 ; warp events
+ def_warp_events
warp_event 2, 7, FUCHSIA_CITY, 4
warp_event 3, 7, FUCHSIA_CITY, 4
- db 0 ; coord events
+ def_coord_events
- db 0 ; bg events
+ def_bg_events
- db 2 ; object events
+ def_object_events
object_event 2, 3, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BillsBrotherScript, -1
object_event 6, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BillsBrothersHouseYoungsterScript, -1