summaryrefslogtreecommitdiff
path: root/maps/BillsBrothersHouse.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-26 16:29:43 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-26 16:29:43 -0400
commitd24f1c71149b59c50dba57e500f30b223a54a25f (patch)
tree140ad8c04b396af2e0d55f3218bfb3e428391f42 /maps/BillsBrothersHouse.asm
parent6ca1857732502a60251e3738cbccc6d0067eaed2 (diff)
Use def_* macros for automatic map event counts
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 b9c6d469..14cf8a3b 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