Skip to content

Commit

Permalink
Merge pull request #2028 from NTx86/fix-contest-ai-point-macros
Browse files Browse the repository at this point in the history
Fix incorrect point macros in contest_ai_script.inc
  • Loading branch information
GriffinRichards authored Sep 8, 2024
2 parents 04197b4 + 71fcb2e commit cfdb06a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions asm/macros/contest_ai_script.inc
Original file line number Diff line number Diff line change
Expand Up @@ -141,25 +141,25 @@

.macro if_points_less_than num:req, destination:req
.byte 0x16
.byte \num
.2byte \num
.4byte \destination
.endm

.macro if_points_more_than num:req, destination:req
.byte 0x17
.byte \num
.2byte \num
.4byte \destination
.endm

.macro if_points_eq num:req, destination:req
.byte 0x18
.byte \num
.2byte \num
.4byte \destination
.endm

.macro if_points_not_eq num:req, destination:req
.byte 0x19
.byte \num
.2byte \num
.4byte \destination
.endm

Expand All @@ -171,25 +171,25 @@

.macro if_preliminary_points_less_than num:req, destination:req
.byte 0x1B
.byte \num
.2byte \num
.4byte \destination
.endm

.macro if_preliminary_points_more_than num:req, destination:req
.byte 0x1C
.byte \num
.2byte \num
.4byte \destination
.endm

.macro if_preliminary_points_eq num:req, destination:req
.byte 0x1D
.byte \num
.2byte \num
.4byte \destination
.endm

.macro if_preliminary_points_not_eq num:req, destination:req
.byte 0x1E
.byte \num
.2byte \num
.4byte \destination
.endm

Expand Down

0 comments on commit cfdb06a

Please sign in to comment.