Skip to content

Commit

Permalink
Kill TPP compile mode
Browse files Browse the repository at this point in the history
  • Loading branch information
huderlem committed Nov 25, 2023
1 parent a1877db commit d43d373
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all tools clean tidy tpp
.PHONY: all tools clean tidy

.SUFFIXES:
.SECONDEXPANSION:
Expand All @@ -17,8 +17,6 @@ endif
COMPILE_FLAGS :=

all: $(ROM)
tpp: COMPILE_FLAGS += -D _TPP
tpp: all

ifeq (,$(filter tools clean tidy,$(MAKECMDGOALS)))
Makefile: tools
Expand Down
7 changes: 0 additions & 7 deletions engine/pinball_game/evolution_mode.asm
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,9 @@ ShowStartEvolutionModeText:

IsBreedingAllowed:
; Sets carry flag if not allowed.
IF DEF(_TPP)
; Allow breeding on every stage.
and a
ret
ELSE
; Don't breed on Red/Blue stages
ld a, [wCurrentStage]
cp STAGE_BLUE_FIELD_BOTTOM + 1
ret
ENDC

InitEvolutionSelectionMenu:
; Initializes the list menu, which the player uses to select which pokemon to evolve.
Expand Down

0 comments on commit d43d373

Please sign in to comment.