Use ASCII quotes in comments

This commit is contained in:
Rangi 2020-07-06 21:15:12 -04:00
parent dd08b8dd6b
commit 77ed5f3820
5 changed files with 9 additions and 9 deletions

View file

@ -425,7 +425,7 @@ ShareMoveAnimations:
and a and a
ret z ret z
; opponents turn ; opponent's turn
ld a, [wAnimationID] ld a, [wAnimationID]

View file

@ -3255,14 +3255,14 @@ PrintGhostText:
ldh a, [hWhoseTurn] ldh a, [hWhoseTurn]
and a and a
jr nz, .Ghost jr nz, .Ghost
ld a, [wBattleMonStatus] ; players turn ld a, [wBattleMonStatus] ; player's turn
and SLP | (1 << FRZ) and SLP | (1 << FRZ)
ret nz ret nz
ld hl, ScaredText ld hl, ScaredText
call PrintText call PrintText
xor a xor a
ret ret
.Ghost ; ghosts turn .Ghost ; ghost's turn
ld hl, GetOutText ld hl, GetOutText
call PrintText call PrintText
xor a xor a

View file

@ -1,6 +1,6 @@
GymStatues: GymStatues:
; if in a gym and have the corresponding badge, a = GymStatueText2_id and jp PrintPredefTextID ; if in a gym and have the corresponding badge, a = GymStatueText2_id and jp PrintPredefTextID
; if in a gym and dont have the corresponding badge, a = GymStatueText1_id and jp PrintPredefTextID ; if in a gym and don't have the corresponding badge, a = GymStatueText1_id and jp PrintPredefTextID
; else ret ; else ret
call EnableAutoTextBoxDrawing call EnableAutoTextBoxDrawing
ld a, [wSpritePlayerStateData1FacingDirection] ld a, [wSpritePlayerStateData1FacingDirection]

View file

@ -31,7 +31,7 @@ PalletTownScript0:
call PlaySound call PlaySound
ld a, BANK(Music_MeetProfOak) ld a, BANK(Music_MeetProfOak)
ld c, a ld c, a
ld a, MUSIC_MEET_PROF_OAK ; “oak appears” music ld a, MUSIC_MEET_PROF_OAK ; "oak appears" music
call PlayMusic call PlayMusic
ld a, $FC ld a, $FC
ld [wJoyIgnore], a ld [wJoyIgnore], a
@ -76,7 +76,7 @@ PalletTownScript2:
predef CalcPositionOfPlayerRelativeToNPC predef CalcPositionOfPlayerRelativeToNPC
ld hl, hNPCPlayerYDistance ld hl, hNPCPlayerYDistance
dec [hl] dec [hl]
predef FindPathToPlayer ; load Oaks movement into wNPCMovementDirections2 predef FindPathToPlayer ; load Oak's movement into wNPCMovementDirections2
ld de, wNPCMovementDirections2 ld de, wNPCMovementDirections2
ld a, 1 ; oak ld a, 1 ; oak
ldh [hSpriteIndex], a ldh [hSpriteIndex], a
@ -205,10 +205,10 @@ PalletTownText5: ; sign by fence
text_far _PalletTownText5 text_far _PalletTownText5
text_end text_end
PalletTownText6: ; sign by Reds house PalletTownText6: ; sign by Red's house
text_far _PalletTownText6 text_far _PalletTownText6
text_end text_end
PalletTownText7: ; sign by Blues house PalletTownText7: ; sign by Blue's house
text_far _PalletTownText7 text_far _PalletTownText7
text_end text_end

View file

@ -2295,7 +2295,7 @@ wCurrentTileBlockMapViewPointer::
ds 2 ds 2
wYCoord:: wYCoord::
; players position on the current map ; player's position on the current map
ds 1 ds 1
wXCoord:: wXCoord::