summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-11-08 13:56:29 -0500
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-11-08 13:56:29 -0500
commitacde04be10aab02c94f8e58d892344af6cbb3ece (patch)
tree6c59b80142afa0b0e1d800dbe09bd30bf01ccbf5 /engine
parent32ba300e6c18c1f52603111777aa41efea0550d0 (diff)
DisplayTextIDInit and DrawStartMenu
Also re-add event_macros.asm
Diffstat (limited to 'engine')
-rw-r--r--engine/menu/bills_pc.asm9
1 files changed, 3 insertions, 6 deletions
diff --git a/engine/menu/bills_pc.asm b/engine/menu/bills_pc.asm
index 986bb339..347ec5df 100644
--- a/engine/menu/bills_pc.asm
+++ b/engine/menu/bills_pc.asm
@@ -5,8 +5,7 @@ DisplayPCMainMenu:: ; 213c8 (8:5378)
ld a, [wNumHoFTeams]
and a
jr nz, .leaguePCAvailable
- ld a, [wd74b]
- bit 5, a
+ CheckEvent EVENT_GOT_POKEDEX
jr z, .noOaksPC
ld a, [wNumHoFTeams]
and a
@@ -26,8 +25,7 @@ DisplayPCMainMenu:: ; 213c8 (8:5378)
call UpdateSprites
ld a, 3
ld [wMaxMenuItem], a
- ld a, [wd7f1]
- bit 0, a
+ CheckEvent EVENT_MET_BILL
jr nz, .metBill
coord hl, 2, 2
ld de, SomeonesPCText
@@ -44,8 +42,7 @@ DisplayPCMainMenu:: ; 213c8 (8:5378)
ld h, b
ld de, PlayersPCText
call PlaceString
- ld a, [wd74b]
- bit 5, a
+ CheckEvent EVENT_GOT_POKEDEX
jr z, .noOaksPC2
coord hl, 2, 6
ld de, OaksPCText