mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
endm -> ENDM
This commit is contained in:
parent
43a1e5b5ba
commit
50fc9c3389
@ -57,7 +57,7 @@ const_value = 1
|
||||
deco: MACRO
|
||||
const DECO_\1
|
||||
enum DECOFLAG_\1
|
||||
endm
|
||||
ENDM
|
||||
|
||||
; decorations:
|
||||
; - DecorationAttributes (see data/decorations/attributes.asm)
|
||||
|
@ -1,7 +1,7 @@
|
||||
newgroup: MACRO
|
||||
const_value = const_value + 1
|
||||
enum_start 1
|
||||
endm
|
||||
ENDM
|
||||
|
||||
mapgroup: MACRO
|
||||
;\1: map id
|
||||
@ -11,7 +11,7 @@ GROUP_\1 EQU const_value
|
||||
enum MAP_\1
|
||||
\1_HEIGHT EQU \2
|
||||
\1_WIDTH EQU \3
|
||||
endm
|
||||
ENDM
|
||||
|
||||
; map group ids
|
||||
; `newgroup` indexes are for:
|
||||
|
@ -14,7 +14,7 @@ battleanimobj: MACRO
|
||||
db \4 ; callback
|
||||
db \5 ; palette
|
||||
db \6 ; tile offset
|
||||
endm
|
||||
ENDM
|
||||
|
||||
BattleAnimObjects: ; ccb56
|
||||
; entries correspond to ANIM_OBJ_* constants
|
||||
|
@ -1,7 +1,7 @@
|
||||
sprite_movement_data: MACRO
|
||||
db \1, \2, \3, \4, \5
|
||||
dn \6, 0
|
||||
endm
|
||||
ENDM
|
||||
|
||||
SpriteMovementData:: ; 4273
|
||||
; entries correspond to SPRITEMOVEDATA_* constants
|
||||
|
@ -1,7 +1,7 @@
|
||||
prob: MACRO
|
||||
prob_total = prob_total + (\1)
|
||||
dw prob_total * $ffff / 100
|
||||
endm
|
||||
ENDM
|
||||
|
||||
OddEggProbabilities:
|
||||
prob_total = 0
|
||||
|
@ -12,7 +12,7 @@ rept _NARG / 2
|
||||
shift
|
||||
shift
|
||||
endr
|
||||
endm
|
||||
ENDM
|
||||
|
||||
; gfx/pokegear/town_map.png
|
||||
townmappals EARTH, EARTH, EARTH, MOUNTAIN, MOUNTAIN, MOUNTAIN
|
||||
|
@ -6,7 +6,7 @@ phone: MACRO
|
||||
dba \5
|
||||
db \6
|
||||
dba \7
|
||||
endm
|
||||
ENDM
|
||||
|
||||
PhoneContacts: ; 9045f
|
||||
; entries correspond to PHONE_* constants
|
||||
|
@ -3,7 +3,7 @@ specialcall: MACRO
|
||||
dw \1
|
||||
db \2
|
||||
dba \3
|
||||
endm
|
||||
ENDM
|
||||
|
||||
SpecialPhoneCallList: ; 90627
|
||||
; entries correspond to SPECIALCALL_* constants
|
||||
|
@ -5,7 +5,7 @@ x = 1
|
||||
x = x + 1
|
||||
endr
|
||||
db -1
|
||||
endm
|
||||
ENDM
|
||||
|
||||
UnownWords: ; fba5a
|
||||
; entries correspond to Unown forms
|
||||
|
@ -10,7 +10,7 @@ rept \2
|
||||
shift
|
||||
endr
|
||||
db 0
|
||||
endm
|
||||
ENDM
|
||||
|
||||
RoamMaps: ; 2a40f
|
||||
roam_map ROUTE_29, 2, ROUTE_30, ROUTE_46
|
||||
|
@ -1,7 +1,7 @@
|
||||
treemon_map: MACRO
|
||||
map \1
|
||||
db \2 ; treemon set
|
||||
endm
|
||||
ENDM
|
||||
|
||||
TreeMonMaps: ; b825e
|
||||
treemon_map ROUTE_26, 4
|
||||
|
@ -832,7 +832,7 @@ zoombox: MACRO
|
||||
; width, height, start y, start x
|
||||
db \1, \2
|
||||
dwcoord \3, \4
|
||||
endm
|
||||
ENDM
|
||||
zoombox 4, 2, 8, 8
|
||||
zoombox 6, 4, 7, 7
|
||||
zoombox 8, 6, 6, 6
|
||||
|
@ -871,7 +871,7 @@ BattleBGEffect_RunPicResizeScript: ; c83ed (32:43ed)
|
||||
bgsquare: MACRO
|
||||
dn \1, \2
|
||||
dw \3
|
||||
endm
|
||||
ENDM
|
||||
|
||||
bgsquare 6, 6, .SixBySix
|
||||
bgsquare 4, 4, .FourByFour
|
||||
|
@ -1450,7 +1450,7 @@ ENDC
|
||||
ld a, [wd004]
|
||||
inc a
|
||||
ld [wBillsPC_NumMonsInBox], a
|
||||
endm
|
||||
ENDM
|
||||
|
||||
CopyBoxmonSpecies: ; e2d30 (38:6d30)
|
||||
xor a
|
||||
|
@ -1413,7 +1413,7 @@ else
|
||||
dbpixel \1, \2
|
||||
dw \3
|
||||
endc
|
||||
endm
|
||||
ENDM
|
||||
|
||||
cardflip_cursor 11, 2, .Impossible
|
||||
cardflip_cursor 12, 2, .Impossible
|
||||
|
@ -178,7 +178,7 @@ endc
|
||||
shift
|
||||
endr
|
||||
db $ff
|
||||
endm
|
||||
ENDM
|
||||
|
||||
.UnownText_Escape:
|
||||
; db $08, $44, $04, $00, $2e, $08, $ff
|
||||
|
@ -105,7 +105,7 @@ x = x +- \2
|
||||
endr
|
||||
y = y + 1
|
||||
endr
|
||||
endm
|
||||
ENDM
|
||||
|
||||
UnownPrinter_OverworldMapRectangle: ; e008b
|
||||
overworldmaprect 7, 7
|
||||
|
@ -144,7 +144,7 @@ SetUpPokeAnim: ; d00b4
|
||||
PokeAnim_SetupCommands: ; d00da
|
||||
setup_command: MACRO
|
||||
\1_: dw \1
|
||||
endm
|
||||
ENDM
|
||||
setup_command PokeAnim_Finish
|
||||
setup_command PokeAnim_BasePic
|
||||
setup_command PokeAnim_SetWait
|
||||
@ -586,7 +586,7 @@ x = x + 1
|
||||
endr
|
||||
y = y + 7
|
||||
endr
|
||||
endm
|
||||
ENDM
|
||||
|
||||
PokeAnim_ConvertAndApplyBitmask: ; d036b
|
||||
xor a
|
||||
|
@ -120,7 +120,7 @@ rept _NARG / 2
|
||||
shift
|
||||
shift
|
||||
endr
|
||||
endm
|
||||
ENDM
|
||||
initpuzcoord 0,0, 0,1, 0,2, 0,3, 0,4, 0,5
|
||||
initpuzcoord 1,0, 1,5
|
||||
initpuzcoord 2,0, 2,5
|
||||
@ -603,7 +603,7 @@ puzzle_coords: MACRO
|
||||
dbpixel \1, \2, \3, \4
|
||||
dwcoord \5, \6
|
||||
db \7, \8
|
||||
endm
|
||||
ENDM
|
||||
; OAM coords, tilemap coords, vacant tile, filler
|
||||
puzzle_coords 3, 3, 4, 4, 1, 0, PUZZLE_BORDER, 0
|
||||
puzzle_coords 6, 3, 4, 4, 4, 0, PUZZLE_BORDER, 0
|
||||
|
@ -207,14 +207,14 @@ else
|
||||
cp \1
|
||||
endc
|
||||
jp z, \2
|
||||
endm
|
||||
ENDM
|
||||
|
||||
dict2: MACRO
|
||||
cp \1
|
||||
jr nz, ._\@
|
||||
ld a, \2
|
||||
._\@:
|
||||
endm
|
||||
ENDM
|
||||
|
||||
dict "<DAY>", Char15
|
||||
dict "<LINE>", LineChar
|
||||
@ -313,7 +313,7 @@ print_name: MACRO
|
||||
push de
|
||||
ld de, \1
|
||||
jp PlaceCommandCharacter
|
||||
endm
|
||||
ENDM
|
||||
|
||||
PrintMomsName: print_name MomsName ; 1186
|
||||
PrintPlayerName: print_name PlayerName ; 118d
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user